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


INetworkClass.NetworkAncillaryRole Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkClass Interface > INetworkClass.NetworkAncillaryRole Property
ArcGIS Developer Help

INetworkClass.NetworkAncillaryRole Property

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

INetworkClass Interface | IGeometricNetwork Interface | INetwork Interface