Spread Windows Forms 6.0 Product Documentation
CanSerializeXml Property
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : CanSerializeXml Property


Glossary Item Box

Gets whether the object in its entirety can be rendered with XML without losing any information.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property CanSerializeXml As Boolean
Visual Basic (Usage)Copy Code
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.CanSerializeXml
C# 
public bool CanSerializeXml {get;}

Property Value

Boolean: true if the object can be rendered entirely in XML; false otherwise

Remarks

This method returns true if the object can be rendered with XML in its entirety (using the Serialize method), if every contained object supports XML serialization, without losing any information. This includes the data, any tags, or data source in the model associated with the object. Some objects can contain custom object references, that may or may not implement the XML serialization interface (ISerializeSupport). This method returns false if any of the contained objects do not implement the XML serialization interface.

This property is available at run time only.

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.