InstanceCollection<T>.Item(String) Property

Gets the IInstance with the specified instance path.


Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public T this[
string instanceSpecifier
] { get; }

Parameters

instanceSpecifier  String

The instance path or Instance Name (dependent of Mode setting)

Return Value

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.

See Also

Reference

InstanceCollection<T> Class Item Overload TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026