Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / Serializer Class / DeserializeEnumValue Method
String enumeration value
Enumeration type


In This Topic
    DeserializeEnumValue Method
    In This Topic
    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