InstanceCollection.T..Insert Method

Inserts the specified IInstance at the specified index.

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

Syntax

C#

public virtual void Insert(
    int index,
    T instance
)

Parameters

index

Type: System.Int32
The instance.

instance

Type: T
The item.

Implements

IList.T..Insert(Int32, T)

Exceptions

Exception

Condition

ArgumentOutOfRangeException

index or index

ArgumentNullException

Reference

InstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace