Spread for ASP.NET 7.0 Product Documentation
DeserializeEnumValue Method
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > Serializer Class : DeserializeEnumValue Method


value
String enumeration value
enumType
Enumeration type

Glossary Item Box

Deserializes an enumeration value of the specified type.

Syntax

Visual Basic (Declaration) 
Public Shared Function DeserializeEnumValue( _
   ByVal value As String, _
   ByVal enumType As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim value As String
Dim enumType As Type
Dim value As Object
 
value = Serializer.DeserializeEnumValue(value, enumType)
C# 
public static object DeserializeEnumValue( 
   string value,
   Type enumType
)

Parameters

value
String enumeration value
enumType
Enumeration type

Return Value

Object containing the deserialized enumeration value

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.