InstanceCollectionTItem(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

IInstanceCollectionTItemString

Exceptions

Exception

Condition

ArgumentNullException

ArgumentException

Remarks

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

Reference

InstanceCollectionT Class Item Overload TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026