This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServer Interface > IMxdServer.LayerDescriptors Property (ArcObjects .NET 10.5 SDK) |
An array of LayerDescriptor objects for a given map name. Each layer descriptor describes the characteristics of a layer in the map. Default layer properties can be changed to change output.
[Visual Basic .NET] Public Function get_LayerDescriptors ( _ ByVal MapName As String _ ) As IArray
[C#] public IArray get_LayerDescriptors ( string MapName );
[C++]
HRESULT get_LayerDescriptors(
BSTR MapName,
IArray** LayerDescriptors
);
[C++]
Parameters MapName [in] MapName is a parameter of type BSTR LayerDescriptors [out, retval]
LayerDescriptors is a parameter of type IArray