RouteCollection.Insert Method

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

Namespace:  TwinCAT.Ads.TcpRouter
Assembly:  TwinCAT.Ads.TcpRouter (in TwinCAT.Ads.TcpRouter.dll) Version: 6.0.328+39e3229

Syntax

C#

public void Insert(
    int index,
    Route item
)

Parameters

index

Type: System.Int32
The zero-based index at which item should be inserted.

item

Type: TwinCAT.Ads.TcpRouter.Route
The object to insert into the IList.T..

Implements

IList.T..Insert(Int32, T)

Exceptions

Exception

Condition

ArgumentException

Cannot add item

Reference

RouteCollection Class

TwinCAT.Ads.TcpRouter Namespace