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


IGeoProcessor.ListDatasets Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGeoProcessor.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

IGeoProcessor Interface