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


IGeoProcessor2.ListFeatureClasses Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor2.ListFeatureClasses Method

Return the list of feature classes within the current workspace or feature dataset within the workspace.

[Visual Basic .NET]
Public Function ListFeatureClasses ( _
    ByVal wildCard As String, _
    ByVal FeatureType As String, _
    ByVal dataset As String _
) As IGpEnumList
[C#]
public IGpEnumList ListFeatureClasses (
    string wildCard,
    string FeatureType,
    string dataset
);
[C++]
HRESULT ListFeatureClasses(
  BSTR wildCard,
  BSTR FeatureType,
  BSTR dataset,
  IGpEnumList** ppEnumList
);
[C++]

Parameters wildCard [in] wildCard is a parameter of type BSTR FeatureType [in] FeatureType is a parameter of type BSTR dataset [in] dataset is a parameter of type BSTR ppEnumList [out, retval]
ppEnumList is a parameter of type IGpEnumList

Product Availability

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

See Also

IGeoProcessor2 Interface

.NET Related Topics

How to create a script tool that runs an EXE | Working with ArcSDE data