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


IMapCookerX.AddLayerX Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (CartoX)  

IMapCookerX.AddLayerX Method

Adds a layer to the map cache.

[Visual Basic .NET]
Public Sub AddLayerX ( _
    ByVal Name As String, _
    ByVal pMapLayerInfo As IMapLayerInfo _
)
[C#]
public void AddLayerX (
    string Name,
    IMapLayerInfo pMapLayerInfo
);
[C++]
HRESULT AddLayerX(
  BSTR Name,
  IMapLayerInfo* pMapLayerInfo
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR pMapLayerInfo [in]
pMapLayerInfo is a parameter of type IMapLayerInfo

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IMapCookerX Interface