ArcObjects Library Reference (Carto)  

IFeatureLayer2 Interface

Provides access to additional members that control common aspects of a feature layer.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Provides access to the properties and methods of a layer based on vector geographic data, which is typically a geodatabase, shapefile, or coverage feature class.

Members

Description
Read/write property DataSourceType Data source type.
Read/write property DisplayField Primary display field.
Method ExpandRegionForSymbols Expands the given geometry by an amount that will include the layer's symbology for the given display.
Read/write property FeatureClass The layer's feature class.
Read/write property ScaleSymbols Indicates if symbols are scaled for the layer.
Method Search Creates a cursor based upon the search criteria.
Read/write property Selectable Indicates if layer is selectable.
Read-only property ShapeType The layer's shape type.

CoClasses that implement IFeatureLayer2

CoClasses and Classes Description
CadAnnotationLayer An ESRI Cad annotation layer.
CadastralFabricSubLayer Cadastral Fabric Feature Layer Object.
CadFeatureLayer ESRI CAD Feature Layer class.
CoverageAnnotationLayer An ESRI coverage annotation layer.
DimensionLayer A collection of properties for a dimension layer.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
FeatureLayer A collection of features and their visual representation.
GdbRasterCatalogLayer Geodabase RasterCatalog source and display options.
MADtedLayer (esriDefenseSolutions) A layer used to control the display of MA DTED Catalogs.
MARasterLayer (esriDefenseSolutions) A layer used to control the display of MA RPF Catalogs.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.

Remarks

This interface provides access to all properties and methods of IFeatureLayer as well as one new read-only property (ShapeType) and method (ExpandRegionForSymbols).