ArcGIS Pro 2.7 API Reference Guide
GetFeatureClass Method (FeatureLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class : GetFeatureClass Method
Returns the underlying FeatureClass that the feature layer is pointing to. A FeatureClass is a collection of spatial entities, modeled as objects with properties and behavior. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public FeatureClass GetFeatureClass()
Public Function GetFeatureClass() As FeatureClass

Return Value

Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FeatureLayer Class
FeatureLayer Members