InstanceCollection<T>.GetInstanceByName Method

Gets the name of the instance by.


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

Syntax

C#

public IList<T> GetInstanceByName(
string instanceName
)

Parameters

instanceName  String

Name of the instance.

Return Value

IList<T>
IList<T>.

Implements

IInstanceCollection<T>.GetInstanceByName(String)

Exceptions

Exception

Condition

ArgumentException

Name not found!;instanceName

See Also

Reference

InstanceCollection<T> Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026