Infosys在阅读器中打开 / AI 翻译

ADS · 0 次阅读

EnumType.T..TryParse Method

Tries to parse the Enum Value

Namespace:  TwinCAT.Ads.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public bool TryParse(
    string strValue,
    out T value
)

VB

Public Function TryParse ( 
    strValue As String,
    <OutAttribute> ByRef value As T
) As Boolean

Parameters

strValue

Type: System.String
Enum value (in string representation).

value

Type: T.
The value.

Return Value

Type: Boolean
true if XXXX, false otherwise.