EnumValueCollection<T>.TryGetValue Method

Tries to get the value


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

Syntax

C#

public bool TryGetValue(
T val,
out EnumValue<T>? ei
)

Parameters

val  T

The value.

ei  EnumValue<T>

The ei.

Return Value

Boolean
true if the value is found, false otherwise.

See Also

Reference

EnumValueCollection<T> Class TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026