ReadOnlyInstanceCollectionTTryGetInstanceByName 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  IListT

The found symbols (out-parameter)

Return Value

Boolean
true, if found; false if not contained.

Implements

IInstanceCollectionTTryGetInstanceByName(String, IListT)

Reference

ReadOnlyInstanceCollectionT Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026