We have some feature classes or shape files and we want to get distinct values from a particular column and its count.This is a common task which we require when we are working with feature classes/Shape files.
In this blog, I am explaining how we can create an object of workspace using Propertyset because workspace object also we can create in following two ways. The second flow of creating workspace object I will explain in my other blogs.
In ESRI ArcGIS if we want to store spatial object so we need to create a container where we can store spatial data. In ArcGIS, if we want to store spatial as well as non-spatial data together so we can create feature class. The feature class is a spatial object where we can store spatial data with non-spatial properties. For Example, if we want to store ATM information so we will create ATM feature class.
In this blog, we are trying to find the actual name of feature class using ArcObject. If we try to get the feature class name using ArcObject, by default it will give you the alias name instead of the actual name.
In GIS, whenever we start any work, we have to specify the spatial reference or coordinate system of data.Without Coordinate System we can't find the exact location of data so our analysis will be wrong.
Read Shape files using ArcObject and Show Shape Name Type and feature count in datagrid.

This article demonstrates how to exit from running Console Application when you hit “Enter” button.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article