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


IFeatureClass.FeatureDataset Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClass Interface > IFeatureClass.FeatureDataset Property
ArcGIS Developer Help

IFeatureClass.FeatureDataset Property

The feature dataset that contains the feature class.

[Visual Basic .NET]
Public ReadOnly Property FeatureDataset As IFeatureDataset
[C#]
public IFeatureDataset FeatureDataset {get;}
[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

.NET Samples

Implementing an XML builder external component