IEnumValueCollection<TEnumValue, TValue>.TryParse(String, TEnumValue) Method

Tries to parse the string value of the Enum.


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

Syntax

C#

bool TryParse(
string strValue,
out TEnumValue? value
)

Parameters

strValue  String

The Value in string representation.

value  TEnumValue

The value.

Return Value

Boolean
true if the string could be parsed successfully, false otherwise.

See Also

Reference

IEnumValueCollection<TEnumValue, TValue> Interface TryParse Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026