RouteCollection Class
Collection of routes.
Inheritance Hierarchy
System.Object
TwinCAT.Ads.TcpRouter.RouteCollection
Namespace: TwinCAT.Ads.TcpRouter
Assembly: TwinCAT.Ads.TcpRouter (in
TwinCAT.Ads.TcpRouter.dll) Version: 6.0.328+39e3229
Syntax
C#
public class RouteCollection : IList<Route>,
ICollection<Route>, IEnumerable<Route>, IEnumerable
The RouteCollection type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the RouteCollection class. | |
|
Initializes a new instance of the RouteCollection class (copy constructor) |
Properties
|
Name |
Description |
---|---|---|
|
Gets the number of elements contained in the ICollection.T.. | |
|
Gets a value indicating whether the ICollection.T. is read-only. | |
|
Gets or sets the Route at the specified index. |
Methods
|
Name |
Description |
---|---|---|
|
Adds an item to the ICollection.T.. | |
|
Adds a range of routes. | |
|
Ases the read only. | |
|
Removes all items from the ICollection.T.. | |
|
Clones this instance. | |
|
Determines whether the ICollection.T. contains a specific value. | |
|
Copies the elements of the ICollection.T. to an Array, starting at a particular Array index. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Returns an enumerator that iterates through the collection. | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Determines the index of a specific item in the IList.T.. | |
|
Inserts an item to the IList.T. at the specified index. | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Removes the specified AmsNetId from the RouteCollection. | |
|
Removes the first occurrence of a specific object from the ICollection.T.. | |
|
Removes the specified route from the RouteCollection. | |
|
Removes the IList.T. item at the specified index. | |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Tries to add the route to the RouteCollection. |