InstanceCollection.T..GetInstanceByName Method

Gets the name of the instance by.

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

Syntax

C#

public IList<T> GetInstanceByName(
    string instanceName
)

VB

Public Function GetInstanceByName ( 
    instanceName As String
) As IList(Of T)

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