IInstanceCollection.T..TryGetInstanceByName Method

Tries to get the specified instance by name.

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

Syntax

C#

bool TryGetInstanceByName(
    string instanceName,
    out IList<T> symbols
)

VB

Function TryGetInstanceByName ( 
    instanceName As String,
    <OutAttribute> ByRef symbols As IList(Of T)
) As Boolean

Parameters

instanceName

Type: System.String
Name of the instance.

symbols

Type: System.Collections.Generic.IList.T..
The found symbols.

Return Value

Type: Boolean
true if the IInstance is found; otherwise, false

Reference

IInstanceCollection.T. Interface

TwinCAT.TypeSystem.Generic Namespace