This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalysis > ESRI.ArcGIS.NetworkAnalysis > Interfaces > IN > INetElementBarriers2 Interface > INetElementBarriers2.SetBarriersByEID Method (ArcObjects .NET 10.5 SDK) |
Specifies a set of network element IDs to use as barriers.
[Visual Basic .NET] Public Sub SetBarriersByEID ( _ ByVal Count As Integer, _ ByRef eIDs As Integer _ )
[C#] public void SetBarriersByEID ( int Count, ref int eIDs );
[C++]
HRESULT SetBarriersByEID(
long Count,
long* eIDs
);
[C++]
Parameters Count [in] Count is a parameter of type long eIDs [in] eIDs is a parameter of type long
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.
This method is not callable from C#. Please use INetElementBarriersGEN::SetBarriersByEID.
This method is not callable from VB.NET. Please use INetElementBarriersGEN::SetBarriersByEID.