ReadOnlyInstanceCollection.T..TryGetInstanceByName Method

Tries to get the instance by name.

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

Syntax

C#

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

VB

Public 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 (out-parameter)

Return Value

Type: Boolean
true, if found; false if not contained.

Implements

IInstanceCollection.T..TryGetInstanceByName(String, IList.T..)

Reference

ReadOnlyInstanceCollection.T. Class

TwinCAT.TypeSystem.Generic Namespace