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