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


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

IGeoProcessor2.ListDatasets Method

Return the list of feature datasets within the current workspace.

[Visual Basic .NET]
Public Function ListDatasets ( _
    ByVal wildCard As String, _
    ByVal datasetType As String _
) As IGpEnumList
[C#]
public IGpEnumList ListDatasets (
    string wildCard,
    string datasetType
);
[C++]
HRESULT ListDatasets(
  BSTR wildCard,
  BSTR datasetType
);
[C++]
Parameters
wildCard [in]

wildCard is a parameter of type BSTR datasetType [in]
datasetType is a parameter of type BSTR

Product Availability

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

See Also

IGeoProcessor2 Interface