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>, IEnumerable

The RouteCollection type exposes the following members.

Constructors

 

Name

Description

RouteCollection Class 1:

RouteCollection()

Initializes a new instance of the RouteCollection class.

RouteCollection Class 2:

RouteCollection(IEnumerable<Route>)

Initializes a new instance of the RouteCollection class (copy constructor)

Properties

 

Name

Description

RouteCollection Class 3:

Count

Gets the number of elements contained in the ICollection<T>.

RouteCollection Class 4:

Empty

Gets an empty RouteCollection

RouteCollection Class 5:

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

RouteCollection Class 6:

Item

Gets or sets the Route at the specified index.

Methods

 

Name

Description

RouteCollection Class 7:

Add

Adds an item to the ICollection<T>.

RouteCollection Class 8:

AddRange

Adds a range of routes.

RouteCollection Class 9:

AsReadOnly

Ases the read only.

RouteCollection Class 10:

Clear

Removes all items from the ICollection<T>.

RouteCollection Class 11:

Clone

Clones this instance.

RouteCollection Class 12:

Contains

Determines whether the ICollection<T> contains a specific value.

RouteCollection Class 13:

CopyTo

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

RouteCollection Class 14:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

RouteCollection Class 15:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

RouteCollection Class 16:

GetEnumerator

Returns an enumerator that iterates through the collection.

RouteCollection Class 17:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

RouteCollection Class 18:

GetType

Gets the Type of the current instance.
(Inherited from Object)

RouteCollection Class 19:

IndexOf

Determines the index of a specific item in the IList<T>.

RouteCollection Class 20:

Insert

Inserts an item to the IList<T> at the specified index.

RouteCollection Class 21:

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

RouteCollection Class 22:

Remove(AmsNetId)

Removes the specified AmsNetId from the RouteCollection.

RouteCollection Class 23:

Remove(Route)

Removes the first occurrence of a specific object from the ICollection<T>.

RouteCollection Class 24:

Remove(String)

Removes the specified route from the RouteCollection.

RouteCollection Class 25:

RemoveAt

Removes the IList<T> item at the specified index.

RouteCollection Class 26:

ToString

Returns a string that represents the current object.
(Inherited from Object)

RouteCollection Class 27:

TryAdd

Tries to add the route to the RouteCollection.

See Also

Reference

TwinCAT.Ads.Configuration Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026