ArcObjects Library Reference (Geoprocessing)  

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,
  IFeatureClass** ppFC
);
[C++]

Parameters

catalogPath [in]   catalogPath is a parameter of type BSTR ppFC [out, retval]

  ppFC is a parameter of type IFeatureClass

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