OnSave Method (AdminOptionsBase)

Top  Previous  Next

This method must be overridden in order to persist the admin options in the options file used by MZ-Tools, which is in XML format.

Signature

[VB.NET]

Function OnSave(ByVal xmlTextWriter As System.Xml.XmlTextWriter) As Boolean

[C#]

bool OnSave(System.Xml.XmlTextWriter xmlTextWriter)

Parameters

  • xmlTextWriter: the XMLTextWriter object that must be used to persist the admin options in XML format. The root XML node for these admin options is persisted automatically, so only the nodes with the values must be written to the file.