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 otherwiseThis 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.
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