EnumValue.T..TryParse Method
Parse EnumType string
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public static bool TryParse(
IEnumType<T> type,
string str,
out EnumValue<T>? value
)
Parameters
type |
Type: TwinCAT.TypeSystem.IEnumType.T. |
str |
Type: System.String |
value |
Type: TwinCAT.TypeSystem.EnumValue.T.. |