ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMBasicFeatureLayer Class / FeatureTable Property
Example

In This Topic
    FeatureTable Property (CIMBasicFeatureLayer)
    In This Topic
    Gets or sets the feature table.
    Syntax
    Public Property FeatureTable As CIMFeatureTable
    public CIMFeatureTable FeatureTable {get; set;}
    Example
    Access the display field for a layer
    {
        // get the CIM definition from the layer
        // Note: needs to be called on the MCT
        var cimFeatureDefinition = featureLayer.GetDefinition() as ArcGIS.Core.CIM.CIMBasicFeatureLayer;
        // get the view of the source table underlying the layer
        var cimDisplayTable = cimFeatureDefinition.FeatureTable;
        // this field is used as the 'label' to represent the row
        var displayField = cimDisplayTable.DisplayField;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also