Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

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.

Exceptions

Exception

Condition

ArgumentOutOfRangeException

index or index

ArgumentNullException