ArcObjects Library Reference (GeoDatabase)  

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 (Code Files: XMLDocImpl) | Import signposts (Code Files: SignpostUtilities) |

.NET Related Topics

Converting labels to geodatabase annotation for a single layer | Converting labels to geodatabase annotation for an entire map |