This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.ListDatasets Method (ArcObjects .NET 10.5 SDK) |
Returns a collection of datasets in the current workspace based on a query string and type.
[Visual Basic .NET] Public Function ListDatasets ( _ [ByRef wildCard As Object], _ [ByRef FeatureType As Object] _ ) As Object
[C#] public object ListDatasets ( ref object wildCard, ref object FeatureType );
Optional Values
[C++]
HRESULT ListDatasets(
VARIANT* wildCard,
VARIANT* FeatureType,
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. ppEnumList [out, retval] ppEnumList is a parameter of type IDispatch*