ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.ListFeatureClasses Method

Returns a collection of feature classes in the current workspace or optional dataset, based on a query string and type.

[Visual Basic .NET]
Public Function ListFeatureClasses ( _
    [ByRef wildCard As Object], _
    [ByRef FeatureType As Object], _
    [ByRef dataset As Object] _
) As Object
[C#]
public object ListFeatureClasses (
    ref object wildCard,
    ref object FeatureType,
    ref object dataset
);
[C#]

Optional Values

wildCard   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
FeatureType   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
dataset   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT ListFeatureClasses(
  VARIANT* wildCard,
  VARIANT* FeatureType,
  VARIANT* dataset,
  IDispatch** ppEnumList
);
[C++]

Parameters

wildCard [optional]   wildCard is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

FeatureType [optional]   FeatureType is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

dataset [optional]   dataset is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

ppEnumList [out, retval]   ppEnumList is a parameter of type IDispatch*

Product Availability

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

See Also

IGpDispatch Interface