ArcGIS Pro 2.7 API Reference Guide
GetDefinition() Method

ArcGIS.Core.Data Namespace > FeatureClass Class : GetDefinition() Method
Gets the FeatureClassDefinition of this dataset.
Syntax
public new FeatureClassDefinition GetDefinition()
Public Shadows Function GetDefinition() As FeatureClassDefinition

Return Value

The FeatureClassDefinition of this dataset.
Exceptions
ExceptionDescription
This dataset does not have a valid definition.
A geodatabase-related exception has occurred.
Remarks
This routine will throw an exception if called on a joined feature class, since there is no underlying datastore for these temporary datasets. Table.IsJoinedTable can be used to determine if this feature class represents a join.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FeatureClass Class
FeatureClass Members