Spread Windows Forms 12.0 Product Documentation
DeserializeEnumValue Method


FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : DeserializeEnumValue Method
String enumeration value
Enumeration type
Deserializes an enumeration value of the specified type.
Syntax
'Declaration
 
Public Shared Function DeserializeEnumValue( _
   ByVal value As String, _
   ByVal enumType As Type _
) As Object
'Usage
 
Dim value As String
Dim enumType As Type
Dim value As Object
 
value = Serializer.DeserializeEnumValue(value, enumType)
public static object DeserializeEnumValue( 
   string value,
   Type enumType
)

Parameters

value
String enumeration value
enumType
Enumeration type

Return Value

Object containing the deserialized enumeration value
See Also

Reference

Serializer Class
Serializer Members