ReadOnlyEnumValueCollection.T..TryParse Method (String, T.)

Tries to parse the string value of the Enum.

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

Syntax

C#

public bool TryParse(
    string strValue,
    out T value
)

Parameters

strValue

Type: System.String
The Value in string represention.

value

Type: T.
The value.

Return Value

Type: Boolean
true if the enum value can be parsed, false otherwise.

Implements

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

Reference

ReadOnlyEnumValueCollection.T. Class

TryParse Overload

TwinCAT.TypeSystem Namespace