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


IBasemapLayer.GetLayerWrapper Method (ArcObjects .NET 10.4 SDK)
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