EnumType<T>.TryParse(String, T) Method

Tries to parse the Enum Value


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

Syntax

C#

public bool TryParse(
string strValue,
out T value
)

Parameters

strValue  String

Enum value (in string representation).

value  T

The value.

Return Value

Boolean
true if the EnumType<T> could be parsed/>, false otherwise.

Implements

IEnumType<T>.TryParse(String, T)

See Also

Reference

EnumType<T> Class TryParse Overload TwinCAT.Ads.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026