Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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