com.esri.arcgis.datasourcesfile
Interface ISMNetBarriersCollection

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISMNetBarriersCollectionProxy, SMNetBarriersCollection

public interface ISMNetBarriersCollection
extends Serializable

Provides access to the collection of network barriers.

Description

Represents the collection of network barriers.

Remarks

Note: Barriers are bound to the network and should not be confused with a stop or stop collection.

Product Availability

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


Method Summary
 void add(ISMNetBarrier pItem)
          Adds a barrier to the collection.
 void clear()
          Removes all barriers from the collection.
 void remove(int lID)
          Removes a barrier with a specified ID from the collection.
 

Method Detail

add

void add(ISMNetBarrier pItem)
         throws IOException,
                AutomationException
Adds a barrier to the collection.

Description

Adds the network barrier to the collection.

Product Availability

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

Parameters:
pItem - A reference to a com.esri.arcgis.datasourcesfile.ISMNetBarrier (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int lID)
            throws IOException,
                   AutomationException
Removes a barrier with a specified ID from the collection.

Description

Removes the network barrier from the collection.

Product Availability

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

Parameters:
lID - The lID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws IOException,
                  AutomationException
Removes all barriers from the collection.

Description

Removes all barriers from the collection.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.