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


ISMNetBarriersCollection.Add Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesFile)  

ISMNetBarriersCollection.Add Method

Adds a barrier to the collection.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal pItem As SMNetBarrier _
)
[C#]
public void Add (
    SMNetBarrier pItem
);
[C++]
HRESULT Add(
  ISMNetBarrier* pItem
);
[C++]

Parameters pItem [in]
pItem is a parameter of type ISMNetBarrier*

Product Availability

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

Description

Adds the network barrier to the collection.

See Also

ISMNetBarriersCollection Interface