EnumValueCollection.Parse Method

Parses 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 IConvertible Parse(
    string name
)

Parameters

name

Type: System.String
The name.

Return Value

Type: IConvertible
T.

Implements

IEnumValueCollection.TEnumValue, TValue..Parse(String)

Exceptions

Exception

Condition

ArgumentOutOfRangeException

name

Reference

EnumValueCollection Class

TwinCAT.TypeSystem Namespace