Saves the object to XML.
Syntax
Visual Basic (Declaration) | |
---|
Protected Overridable Function OnSerialize( _
ByVal w As XmlTextWriter _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MenuItem
Dim w As XmlTextWriter
Dim value As Boolean
value = instance.OnSerialize(w) |
C# | |
---|
protected virtual bool OnSerialize(
XmlTextWriter w
) |
Parameters
- w
- XmlTextWriter object used to save the object
Return Value
true if successful; false otherwise
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also