EnumValueCollection.TryParse Method (String, IConvertible.)

Parse the specified string to the enum value.

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

Syntax

C#

public bool TryParse(
    string name,
    out IConvertible value
)

Parameters

name

Type: System.String
The name.

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

EnumValueCollection Class

TryParse Overload

TwinCAT.TypeSystem Namespace