ReadOnlyInstanceCollection<T>.TryGetInstanceByName Method

Tries to get the instance by name.


Namespace: TwinCAT.TypeSystem.Generic
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

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

Parameters

instanceName  String

Name of the instance.

symbols  IList<T>

The found symbols (out-parameter)

Return Value

Boolean
true, if found; false if not contained.

Implements

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

See Also

Reference

ReadOnlyInstanceCollection<T> Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026