InstanceCollection.T..Insert Method

Inserts the specified IInstance at the specified index.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public void Insert(
    int index,
    T instance
)

VB

Public Sub Insert ( 
    index As Integer,
    instance As T
)

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