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


IGPUtilities3.OpenLayerFromLocation Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities3 Interface > IGPUtilities3.OpenLayerFromLocation Method
ArcGIS Developer Help

IGPUtilities3.OpenLayerFromLocation Method

Returns the layer based upon the given catalog path.

[Visual Basic .NET]
Public Function OpenLayerFromLocation ( _
    ByVal catalogPath As String _
) As ILayer
[C#]
public ILayer OpenLayerFromLocation (
    string catalogPath
);
[C++]
HRESULT OpenLayerFromLocation(
  BSTR catalogPath
);
[C++]
Parameters
catalogPath [in]

catalogPath is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGPUtilities3 Interface