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


INetElementBarriersGEN.SetBarriersByEID Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalysis)  

INetElementBarriersGEN.SetBarriersByEID Method

Specifies a set of network element IDs to use as barriers.

[Visual Basic .NET]
Public Sub SetBarriersByEID ( _
    ByRef eIDs As Int32[]& _
)
[C#]
public void SetBarriersByEID (
    ref Int32[]& eIDs
);
[C++]
HRESULT SetBarriersByEID(
  eIDs* eIDs
);
[C++]

Parameters eIDs [in] eIDs is a parameter of type

Product Availability

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

Remarks

The Network and ElementType properties must be set before calling SetBarriersByEID.

If there are values in the array that do not correspond to a valid EID in the specified Network, then the NetElementBarriers object simply ignores these values.

See Also

INetElementBarriersGEN Interface