IInstanceCollection.T..TryGetInstanceByName Method

Tries to get the specified instance by name.

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

Syntax

C#

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.

Return Value

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

Reference

IInstanceCollection.T. Interface

TwinCAT.TypeSystem Namespace