Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.
expression.Save()
expression Required. An expression that returns a reference to an XDocument object.
Security Level
3: Can be accessed only by fully trusted forms.
Remarks
The Save method will return an error if called from a form that is not fully trusted.
Example
In the following example, the Save method of the XDocument object is used to save a form:
XDocument.Save();