ReadOnlyEnumValueCollection.TryParse Method (String, IConvertible.)

Tries to pars 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 IConvertible value
)

Parameters

strValue

Type: System.String
The Value in string represention.

value

Type: System.IConvertible.
The value.

Return Value

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

Implements

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

Reference

ReadOnlyEnumValueCollection Class

TryParse Overload

TwinCAT.TypeSystem Namespace