EnumValueCollection.T..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 T Parse(
    string name
)

Parameters

name

Type: System.String
The name.

Return Value

Type: T
T.

Implements

IEnumValueCollection.TEnumValue, TValue..Parse(String)

Exceptions

Exception

Condition

ArgumentOutOfRangeException

name

Reference

EnumValueCollection.T. Class

TwinCAT.TypeSystem Namespace