ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMBasicFeatureLayer Class
Members Example

In This Topic
    CIMBasicFeatureLayer Class
    In This Topic
    Represents a basic feature layer, the base class for all layer types that draw feature classes as features.
    Object Model
    CIMBasicFeatureLayer ClassCIMFeatureExtrusion ClassCIMExpressionInfo ClassCIMFeatureTable ClassCIMHtmlPopupFormat ClassCIM3DLayerProperties ClassCIMLayerElevationSurface ClassCIMLayerTemplate ClassCIMPageDefinition ClassCIMColor ClassCIMPopupInfo ClassCIMColor ClassCIMSymbolReference ClassTimeInstant ClassTimeExtent Class
    Syntax
    Example
    Access the display field for a layer
    var featureLayer = MapView.Active.Map.GetLayersAsFlattenedList().OfType<FeatureLayer>().FirstOrDefault();
    ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() =>
    {
      // get the CIM definition from the layer
      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;
    });
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CIM.CIMObject
          ArcGIS.Core.CIM.CIMDefinition
             ArcGIS.Core.CIM.CIMBaseLayer
                ArcGIS.Core.CIM.CIMBasicFeatureLayer
                   ArcGIS.Core.CIM.CIMAnnotationLayer
                   ArcGIS.Core.CIM.CIMCatalogLayer
                   ArcGIS.Core.CIM.CIMDimensionLayer
                   ArcGIS.Core.CIM.CIMGeoFeatureLayerBase
                   ArcGIS.Core.CIM.CIMSubtypeGroupLayer
                   ArcGIS.Core.CIM.CIMSubtypeGroupLayerBase

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also