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


NetElementBarriers Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Classes > N > NetElementBarriers Class
ArcGIS Developer Help

NetElementBarriersClass Class

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 (esriSystem)

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