This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeometricNetwork Interface > IGeometricNetwork.ClassesByNetworkAncillaryRole Property (ArcObjects .NET 10.4 SDK) |
The FeatureClasses with the specified ancillary role.
[Visual Basic .NET] Public Function get_ClassesByNetworkAncillaryRole ( _ ByVal Role As esriNetworkClassAncillaryRole _ ) As IEnumFeatureClass
[C#] public IEnumFeatureClass get_ClassesByNetworkAncillaryRole ( esriNetworkClassAncillaryRole Role );
[C++]
HRESULT get_ClassesByNetworkAncillaryRole(
esriNetworkClassAncillaryRole Role,
IEnumFeatureClass** Classes
);
[C++]
Parameters Role [in]
Role is a parameter of type esriNetworkClassAncillaryRole Classes [out, retval]
Classes is a parameter of type IEnumFeatureClass
The ClassesByNetworkAncillaryRole property returns an enumeration of feature classes based on whether or not the feaure class has been assigned an ancillary role within the geometric network. Since the differentiation between source and sink roles occurs at the feature level, feature classes cannot be returned based on a specific ancillary role.
The orphan junction feautre class will always be returned when esriNCARNone or a value of 0 is supplied for the role.