InstanceCollection.T..GetInstanceByName Method

Gets the name of the instance by.

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public IList<T> GetInstanceByName(
    string instanceName
)

Parameters

instanceName

Type: System.String
Name of the instance.

Return Value

Type: IList.T.
IList<T>.

Implements

IInstanceCollection.T..GetInstanceByName(String)

Exceptions

Exception

Condition

ArgumentException

Name not found!;instanceName

Reference

InstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace