This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkClass Interface > INetworkClass.NetworkAncillaryRole Property (ArcObjects .NET 10.5 SDK) |
The possible network ancillary roles of the contained Features.
[Visual Basic .NET] Public ReadOnly Property NetworkAncillaryRole As esriNetworkClassAncillaryRole
[C#] public esriNetworkClassAncillaryRole NetworkAncillaryRole {get;}
[C++]
HRESULT get_NetworkAncillaryRole(
esriNetworkClassAncillaryRole* Role
);
[C++]
Parameters Role [out, retval]
Role is a parameter of type esriNetworkClassAncillaryRole
The NetworkAncillaryRole property will return the esriNetworkAncillaryRole enumeration which indicates if the junction class has a network ancillary role. Since junctions in a geometric network can act as a source, a sink or neither when calculating flow direction, this property will indicate whether or not the features in the class can be sources or sinks. If the class is a simple edge or complex edge network class, the ancillary role will always be returned as esriNCARNone since only junctions may have ancillary roles.
INetworkClass Interface | IGeometricNetwork Interface | INetwork Interface