Saves the object to XML.
'Declaration
Protected Overridable Function OnSerialize( _
ByVal As XmlTextWriter _
) As Boolean
'Usage
Dim instance As MenuItem
Dim w As XmlTextWriter
Dim value As Boolean
value = instance.OnSerialize(w)
protected virtual bool OnSerialize(
XmlTextWriter
)
Parameters
- w
- XmlTextWriter object used to save the object
Return Value
true if successful; false otherwise
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional