RouteCollection Class
Collection of routes.
Inheritance Hierarchy
System.Object
TwinCAT.Ads.Configuration.RouteCollection
Namespace: TwinCAT.Ads.Configuration
Assembly: TwinCAT.Ads.ConfigurationProviders (in TwinCAT.Ads.ConfigurationProviders.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public class RouteCollection : IList<Route>,
ICollection<Route>, IEnumerable<Route>, IEnumerableThe 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 an empty RouteCollection | |
|
|
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. | |
|
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
|
|
Returns an enumerator that iterates through the collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current instance. | |
|
|
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. | |
|
|
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. | |
|
|
Tries to add the route to the RouteCollection. |