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

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

IDataset.Subsets Property

Datasets contained within this dataset.

[Visual Basic .NET]
Public ReadOnly Property Subsets As IEnumDataset
public IEnumDataset Subsets {get;}
HRESULT get_Subsets(
  IEnumDataset** Datasets
Datasets [out, retval]

Datasets is a parameter of type IEnumDataset**

Product Availability

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


The Subsets property returns other Dataset objects contained in this dataset.

Errors Returned

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.

See Also

IDataset Interface

.NET Samples

StreetMap routing