MFEnumJsonConverterGetEnumValue Method |
Returns the value of an enum by the serializable name.
Namespace:
MFiles.VAF.Configuration.JsonAdaptor
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic static Enum GetEnumValue(
Type enumType,
string shortName
)
Public Shared Function GetEnumValue (
enumType As Type,
shortName As String
) As Enum
public:
static Enum^ GetEnumValue(
Type^ enumType,
String^ shortName
)
Parameters
- enumType
- Type: SystemType
The enum type. - shortName
- Type: SystemString
The JSON short name.
Return Value
Type:
EnumJSON name.
See Also