Return Value
The number of rows in this table.
| Exception | Description |
|---|---|
| ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
//Note: call within QueuedTask.Run() // Row count in a Table Table table = featureLayer.GetTable(); long count = table.GetCount(); // Feature count in a FeatureClass FeatureClass featureClass = featureLayer.GetFeatureClass(); long nCount = featureClass.GetCount();
Target Platforms: Windows 11, Windows 10