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


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

IGPUtilities.OpenFeatureClassFromString Method

Opens a feature class from the given catalog path.

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

catalogPath is a parameter of type BSTR

Product Availability

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

Remarks

The OpenFeatureClassFromString method creates a FeatureClass object by simply taking in the ArcCatalog path of a feature class as a string.

See Also

IGPUtilities Interface