EnumValueCollection.T..TryParse Method (String, EnumValue.T..)

Parse the specified string to the enum value.

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

Syntax

C#

public bool TryParse(
    string name,
    out EnumValue<T>? value
)

Parameters

name

Type: System.String
The name.

value

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

Return Value

Type: Boolean
true if parsed, false otherwise.

Implements

IEnumValueCollection.TEnumValue, TValue..TryParse(String, TValue.)

Reference

EnumValueCollection.T. Class

TryParse Overload

TwinCAT.TypeSystem Namespace