EnumValue.T..TryParse Method
Parse EnumType string
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 4.3.0.0
Syntax
C#
public static bool TryParse(
IEnumType<T> type,
string str,
out EnumValue<T> value
)
VB
Public Shared Function TryParse (
type As IEnumType(Of T),
str As String,
<OutAttribute> ByRef value As EnumValue(Of T)
) As Boolean
Parameters
type |
Type: TwinCAT.TypeSystem.IEnumType.T. |
str |
Type: System.String |
value |
Type: TwinCAT.TypeSystem.EnumValue.T.. |
Return Value
Type: Boolean
true if XXXX, false otherwise.