Spread Windows Forms 6.0 Product Documentation
CanSerializeObject Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : CanSerializeObject Method


o
Object

Glossary Item Box

Determines whether the specified object can be serialized to XML.

Syntax

Visual Basic (Declaration) 
Public Shared Function CanSerializeObject( _
   ByVal o As Object _
) As Boolean
Visual Basic (Usage)Copy Code
Dim o As Object
Dim value As Boolean
 
value = Serializer.CanSerializeObject(o)
C# 
public static bool CanSerializeObject( 
   object o
)

Parameters

o
Object

Return Value

true if can be serialized; false otherwise

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.