This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMTSLayer Interface > IWMTSLayer.Connect Method (ArcObjects .NET 10.5 SDK) |
Connects to a WMTS Connection Name
[Visual Basic .NET] Public Function Connect ( _ ByVal pConnectionName As IName _ ) As Boolean
[C#] public bool Connect ( IName pConnectionName );
[C++]
HRESULT Connect(
IName* pConnectionName,
VARIANT_BOOL* successful
);
[C++]
Parameters pConnectionName [in]
pConnectionName is a parameter of type IName successful [out, retval] successful is a parameter of type VARIANT_BOOL