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

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:

IsReadOnly

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

RouteCollection Class 5:

Item

Gets or sets the Route at the specified index.

Methods

 

Name

Description

RouteCollection Class 6:

Add

Adds an item to the ICollection.T..

RouteCollection Class 7:

AddRange

Adds a range of routes.

RouteCollection Class 8:

AsReadOnly

Ases the read only.

RouteCollection Class 9:

Clear

Removes all items from the ICollection.T..

RouteCollection Class 10:

Clone

Clones this instance.

RouteCollection Class 11:

Contains

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

RouteCollection Class 12:

CopyTo

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

RouteCollection Class 13:

Equals

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

RouteCollection Class 14:

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 15:

GetEnumerator

Returns an enumerator that iterates through the collection.

RouteCollection Class 16:

GetHashCode

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

RouteCollection Class 17:

GetType

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

RouteCollection Class 18:

IndexOf

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

RouteCollection Class 19:

Insert

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

RouteCollection Class 20:

MemberwiseClone

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

RouteCollection Class 21:

Remove(AmsNetId)

Removes the specified AmsNetId from the RouteCollection.

RouteCollection Class 22:

Remove(Route)

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

RouteCollection Class 23:

Remove(String)

Removes the specified route from the RouteCollection.

RouteCollection Class 24:

RemoveAt

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

RouteCollection Class 25:

ToString

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

RouteCollection Class 26:

TryAdd

Tries to add the route to the RouteCollection.

Reference

TwinCAT.Ads.TcpRouter Namespace