ArcObjects Library Reference (GeoDatabase)  

IDataset.Subsets Property

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

Product Availability

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

Description

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.

Remarks

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 (Code Files: RoutingForm)