ArcObjects Library Reference  (Geoprocessing)    

IGPUtilities.OpenFeatureClassFromString Method

Opens a feature class from the given catalog path.

[Visual Basic 6.0]
Function OpenFeatureClassFromString(
    ByVal catalogPath As String _
) As IFeatureClass
[Visual Basic .NET]
Public Function OpenFeatureClassFromString ( _
    ByVal catalogPath As String _
) As IFeatureClass
[C#]
public IFeatureClass OpenFeatureClassFromString (
    string catalogPath
);
[Java]
public IFeatureClass openFeatureClassFromString (
    String catalogPath
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page