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


IDatasetContainer2.Datasets Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDatasetContainer2 Interface > IDatasetContainer2.Datasets Property
ArcGIS Developer Help

IDatasetContainer2.Datasets Property

An enumerator over the datasets of the specified type.

[Visual Basic .NET]
Public Function get_Datasets ( _
    ByVal Type As esriDatasetType _
) As IEnumDataset
[C#]
public IEnumDataset get_Datasets (
    esriDatasetType Type
);
[C++]
HRESULT get_Datasets(
  esriDatasetType Type,
  IEnumDataset** Datasets
);
[C++]
Parameters
Type [in]

Type is a parameter of type esriDatasetType Datasets [out, retval]
Datasets is a parameter of type IEnumDataset**

Product Availability

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

Remarks

The Datasets property returns an enumerator over the datasets of the specified type.

See Also

IDatasetContainer2 Interface