InstanceCollection<T>.TryGetInstanceByName Method

Tries to get Instances by name.


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

Syntax

C#

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

Parameters

instanceName  String

Name of the instance.

instances  IList<T>

The instances found.

Return Value

Boolean
true if the IInstance is found; otherwise, false

Implements

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

See Also

Reference

InstanceCollection<T> Class TwinCAT.TypeSystem.Generic Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026