This document is archived and information here might be outdated.  Recommended version.


IFeatureLayer2 Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureLayer2 Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement IFeatureLayer2

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.
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).

.NET Samples

Add and symbolize a historical temporal layer in ArcMap