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


IGeoProcessor.ListDatasets Method (ArcObjects .NET 10.4 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,
  IGpEnumList** ppEnumList
);
[C++]

Parameters wildCard [in] wildCard is a parameter of type BSTR datasetType [in] datasetType 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

IGeoProcessor Interface