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


ILayerFields Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILayerFields Interface

Provides access to members that work with a layer's fields.

Product Availability

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

Description

This interface has properties and methods for finding a layer's fields, returning the field count, and getting extended information on a field.

 

Members

Description
Read-only property Field The field at the specified index.
Read-only property FieldCount The number of fields.
Read-only property FieldInfo Extended field information for the field at the specified index.
Method FindField Returns the index of the field with the specified name.

CoClasses that implement ILayerFields

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.
ImageServerLayer Image server layer source and display options.
IMSSubFeatureLayer A collection of IMS features as a sublayer of an IMSMapLayer.
RasterLayer Raster layer source and display options.
TemporalFeatureLayer (esriTrackingAnalyst) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
TerrainLayer The Terrain Layer class.
TinLayer The TIN Layer class.

.NET Samples

Displaying MapTips in the MapControl (Code Files: MapTips)