EnumValueCollection.T..TryGetValue Method

Tries to get the value

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

Syntax

C#

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

Parameters

val

Type: T
The value.

ei

Type: TwinCAT.TypeSystem.EnumValue.T..
The ei.

Return Value

Type: Boolean
true if the value is found, false otherwise.

Reference

EnumValueCollection.T. Class

TwinCAT.TypeSystem Namespace