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


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

IMapLayerInfo2 Interface

Provides access to the available properties of a map layer info object.

Product Availability

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

When To Use

Use the IMapLayerInfo interface to access read-only information about an individual layer in the map. Please note the difference between IMapLayerInfo and ILayerDescription. IMapLayerInfo is used to retrieve information. ILayerDescription is used to get and set layer settings.

Members

Description
Read-only property CanFind Indicates if the layer supports the Find operation.
Read-only property CanIdentify Indicates if the layer supports the Identify operation.
Read-only property CanScaleSymbols Indicates if the layer supports symbol scaling.
Read-only property CanSelect Indicates if the layer supports feature selection.
Read-only property CopyrightText Copyright information associated with the layer.
Read-only property Description The description of the layer. This property is set in the General tab of the Layer Properties dialog.
Read-only property DisplayField Primary display field.
Read-only property Extent The geographic extent of the layer.
Read-only property FieldAliases Array of strings that contains field alias for each field in Fields property.
Read-only property Fields Array of attribute fields contained in the layer.
Read-only property HasAttributes Indicates if the layer has attributes.
Read-only property HasHyperlinks Indicates if the layer has hyperlinks.
Read-only property HasLabels Indicates if the layer has labels to turn on and off.
Read-only property ID The layer identifier. This ID is used throughout to uniquely identify the layer for all requests.
Read-only property IsComposite Indicates if the layer is a composite layer.
Read-only property IsFeatureLayer Indicates if the layer is a feature layer.
Read-only property MaxScale The maximum visible scale for the layer.
Read-only property MinScale The minimum visible scale for the layer.
Read-only property Name The name of the layer.
Read-only property ParentLayerID If the layer is a member of a composite layer, this property identifies the parent layer.
Read-only property SourceDescription The description of the source information for the layer.
Read-only property SubLayers The list identifying the sublayers if the layer is a composite layer.
Read-only property Type The layer type.

CoClasses that implement IMapLayerInfo2

CoClasses and Classes Description
MapLayerInfo The Map Layer Info coclass provides read-only information about a layer in a map.