Returns the enumeration for a tag.
Namespace: NuGardt.API.Helper.JSONAssembly: NuGardt.API.Helper.Json (in NuGardt.API.Helper.Json.dll) Version: 1.0.0.0 (1.0.0.0)
public bool GetValue(
TEnum Enum,
ref string Instance,
ref Exception Ex = null
)
public bool GetValue(
TEnum Enum,
ref string Instance,
ref Exception Ex = null
)
Public Function GetValue (
Enum As TEnum,
ByRef Instance As String,
Optional ByRef Ex As Exception = Nothing
) As Boolean
Public Function GetValue (
Enum As TEnum,
ByRef Instance As String,
Optional ByRef Ex As Exception = Nothing
) As Boolean
public:
bool GetValue(
TEnum Enum,
String^% Instance,
Exception^% Ex = nullptr
)
public:
bool GetValue(
TEnum Enum,
String^% Instance,
Exception^% Ex = nullptr
)
Parameters
- Enum
- Type: TEnum
The enumartion.
- Instance
- Type:
System String
Contains the tag, if the enumartion could be matched to a tag, otherwise False.
- Ex (Optional)
- Type:
System Exception
Optional. Contains the error message if one occured, otherwise Nothing.
Return Value
Type:
Boolean
Return
True, if the enumration was matched to a tag, otherwise
False.
Returns
True, if the process complete without errors, otherwiese
False.