Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property CanSerializeXml As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8