EnumType.T..TryParse Method (String, IEnumValue.)

Tries to parse the Enum Value

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

Syntax

C#

public bool TryParse(
    string strValue,
    out IEnumValue?? value
)

Parameters

strValue

Type: System.String
Enum value (in string representation).

value

Type: TwinCAT.TypeSystem.IEnumValue.
The value.

Return Value

Type: Boolean
true if the EnumType.T. could be parsed, false otherwise.

Implements

IEnumType.TryParse(String, IEnumValue.)

Reference

EnumType.T. Class

TryParse Overload

TwinCAT.Ads.TypeSystem Namespace