This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.InsertLayer Method (ArcObjects .NET 10.4 SDK) |
Inserts the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.
[Visual Basic .NET] Public Sub InsertLayer ( _ ByVal WMSLayer As ILayer, _ ByVal insertPosition As Integer _ )
[C#] public void InsertLayer ( ILayer WMSLayer, int insertPosition );
[C++]
HRESULT InsertLayer(
ILayer* WMSLayer,
long insertPosition
);
[C++]
Parameters WMSLayer [in]
WMSLayer is a parameter of type ILayer insertPosition [in] insertPosition is a parameter of type long