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


IMapLayerInfos.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfos Interface > IMapLayerInfos.Add Method
ArcGIS Developer Help

IMapLayerInfos.Add Method

Adds a map layer info.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal MapLayerInfo As IMapLayerInfo _
)
[C#]
public void Add (
    IMapLayerInfo MapLayerInfo
);
[C++]
HRESULT Add(
  IMapLayerInfo* MapLayerInfo
);
[C++]
Parameters
MapLayerInfo [in]

MapLayerInfo is a parameter of type IMapLayerInfo*

Product Availability

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

See Also

IMapLayerInfos Interface