Spread Windows Forms 11.0 Product Documentation
CanSerializeXml Property (StyleInfo)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : CanSerializeXml Property
Gets whether the object in its entirety can be rendered with XML without losing any information.
Syntax
'Declaration
 
Public ReadOnly Property CanSerializeXml As Boolean
'Usage
 
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.CanSerializeXml
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.

See Also

Reference

StyleInfo Class
StyleInfo Members
Serialize Method