This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLayer Interface > IMapServerLayer.LocalConnect Method (ArcObjects .NET 10.5 SDK) |
Connects to map document data frame specified by the location of a map document and the name of a data frame.
[Visual Basic .NET] Public Sub LocalConnect ( _ ByVal docLocation As String, _ ByVal MapName As String _ )
[C#] public void LocalConnect ( string docLocation, string MapName );
[C++]
HRESULT LocalConnect(
BSTR docLocation,
BSTR MapName
);
[C++]
Parameters docLocation [in] docLocation is a parameter of type BSTR MapName [in] MapName is a parameter of type BSTR