ArcObjects Library Reference (Carto)  

IBasemapLayer.GetLayerWrapper Method

Gets the wrapper for a layer. Creates a new BasemapSubLayer if necessary.

[Visual Basic .NET]
Public Function GetLayerWrapper ( _
    ByVal Layer As ILayer _
) As IBasemapSubLayer
[C#]
public IBasemapSubLayer GetLayerWrapper (
    ILayer Layer
);
[C++]
HRESULT GetLayerWrapper(
  ILayer* Layer,
  IBasemapSubLayer** layerWrapper
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type ILayer

layerWrapper [out, retval]

  layerWrapper is a parameter of type IBasemapSubLayer

Product Availability

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

See Also

IBasemapLayer Interface