Interface IFeatureClassContainer

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll

Provides access to members that return feature classes by name, ID and index.

[Guid("3B439634-CFC3-11D1-AEAD-0000F80372B4")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IFeatureClassContainer

Remarks

The IFeatureClassContainer interface provides access to feature classes.  For feature datasets, it can be seen as an alternative to the functionality available on other objects.  Also, since IFeatureClassContainer is implemented by IGeometricNetwork and ITopology, it can be used to return the feature classes which participate in those types of datasets. 

There is no guarentee on the order that the feature classes will be returned for IFeatureClassContainer::Classes.

Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

 

Properties

Class[int]

The FeatureClass associated with the specified index value.

IFeatureClass Class[int ClassIndex] { get; }

Parameters

ClassIndex int

Property Value

IFeatureClass

ClassByID[int]

The FeatureClass with the specified ID.

IFeatureClass ClassByID[int ID] { get; }

Parameters

ID int

Property Value

IFeatureClass

Remarks

Each object class in a geodatabase has a unique ID accessible via the ObjectClassID method in the IObjectClass interface or the FeatureClassID method in the IFeatureClass interface. The ClassByID method finds a feature class in a feature dataset given its object class ID.

ClassByName[string]

The FeatureClass with the specified name.

IFeatureClass ClassByName[string Name] { get; }

Parameters

Name string

Property Value

IFeatureClass

ClassCount

The number of FeatureClasses in this container.

int ClassCount { get; }

Property Value

int

Classes

An enumerator over the FeatureClasses.

IEnumFeatureClass Classes { get; }

Property Value

IEnumFeatureClass

Remarks

There is no guarentee on the order that the feature classes will be returned.