This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDataset Interface > IDataset.Subsets Property (ArcObjects .NET 10.5 SDK) |
Datasets contained within this dataset.
[Visual Basic .NET] Public ReadOnly Property Subsets As IEnumDataset
[C#] public IEnumDataset Subsets {get;}
[C++]
HRESULT get_Subsets(
IEnumDataset** Datasets
);
[C++]
Parameters Datasets [out, retval]
Datasets is a parameter of type IEnumDataset
The Subsets property returns other Dataset objects contained in this dataset.
Calling IDataset::Subsets on a dataset after the IWorkspaceEvents::OnDeleteDataset event has fired is not recommended as it may return an error or an empty enumeration of datasets. IFeatureClassContainer::Classes should be used instead.
IDataset::Subsets is not supported for Graph objects such as a Geometric Network. To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.