IEnumType.TryParse Method (String, IEnumValue.)

Parses the value from value name.

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

Syntax

C#

bool TryParse(
    string name,
    out IEnumValue?? value
)

Parameters

name

Type: System.String
The value name.

value

Type: TwinCAT.TypeSystem.IEnumValue.
The value.

Return Value

Type: Boolean
true if value name was found, false otherwise.

Reference

IEnumType Interface

TryParse Overload

TwinCAT.TypeSystem Namespace