ReadOnlyInstanceCollection.T..TryGetInstanceByName Method

Tries to get the instance by name.

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

Syntax

C#

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

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