Spread Windows Forms 7.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 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.