ArcObjects Library Reference  (GeoDatabase)    

IDataset.Subsets Property

Datasets contained within this dataset.

[Visual Basic 6.0]
Property Subsets As IEnumDataset
[Visual Basic .NET]
Public ReadOnly Property Subsets As IEnumDataset
public IEnumDataset Subsets {get;}
public  getSubsets (
    IEnumDataset Datasets
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