Spread Windows Forms 6.0 Product Documentation
DeserializeEnumValue Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win 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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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