This document is archived and information here might be outdated. Recommended version. |
A container for defining to the NetSolver which network elements have barriers.
The NetElementBarriers object contains references to barriers on a geometric network.
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 | Description |
---|---|
INetElementBarriersGEN | Provides access to members that specify a set of barriers by EIDs for the TraceFlowSolver object. |
ISupportErrorInfo (esriSystem) |
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.