ArcObjects Library Reference  (GeoDatabase)    

IFeatureClass.FeatureDataset Property

The feature dataset that contains the feature class.

[Visual Basic 6.0]
Property FeatureDataset As IFeatureDataset
[Visual Basic .NET]
Public ReadOnly Property FeatureDataset As IFeatureDataset
[C#]
public IFeatureDataset FeatureDataset {get;}
[Java]
public IFeatureDataset getFeatureDataset()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_FeatureDataset(
  IFeatureDataset** Dataset
);
[C++]

Parameters

Dataset [out, retval]

  Dataset is a parameter of type IFeatureDataset

Product Availability

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

Remarks

This read-only property returns the IFeatureDataset interface on the feature dataset that this feature class is a memeber of. If the feature class is a stand alone feature class (it does not have a feature dataset), then this function will return a null pointer. A coverage feature class will return the IFeatureDataset interface to the coverage itself. Shapefiles will always return a null pointer.

See Also

IFeatureClass Interface | IFeatureDataset Interface | IDataset Interface