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


NetElementBarriers CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalysis)  

NetElementBarriers CoClass

A container for defining to the NetSolver which network elements have barriers.

Product Availability

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

Description

The NetElementBarriers object contains references to barriers on a geometric network.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
INetElementBarriersGEN Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Remarks

A NetElementBarriers object is used to specify element barriers for the TraceFlowSolver object. Because NetElementBarriers objects are co-creatable, you can use this class to specify barriers using code. Alternatively, by calling INetworkAnalysisExtBarriers::CreateElementBarriers, you can create NetElementBarriers objects that represent all the edge or junction barriers that were placed on the current network using the Utility Network Analyst toolbar.

See Also

UtilityNetworkAnalysisExt Class