InstanceCollection.T..Item Property (String)

Gets the IInstance with the specified instance path.

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

Syntax

C#

public T this[
    string instanceSpecifier
] { get; }

VB

Public ReadOnly Default Property Item ( 
    instanceSpecifier As String
) As T
    Get

Parameters

instanceSpecifier

Type: System.String
The instance path or Instance Name (dependent of Mode setting)

Return Value

Type: T
T.

Implements

IInstanceCollection.T..Item.String.

Exceptions

Exception

Condition

ArgumentNullException

ArgumentException

Remarks

Dependent what this InstanceCollection.T. contains configured by the InstanceCollectionMode the instance specifier should be the InstanceName or the InstancePath.

Reference

InstanceCollection.T. Class

Item Overload

TwinCAT.TypeSystem.Generic Namespace