_XDocument4.Save Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the form to the Uniform Resource Locator (URL) that it is currently associated with.
public:
void Save();
public void Save ();
abstract member Save : unit -> unit
Public Sub Save ()
Implements
Examples
if(thisXDocument.IsNew){thisXDocument.SaveAs("c:\\myforms\\form1.xml");}else{thisXDocument.
<span class="label">Save</span>
();}
if(thisXDocument.IsNew){thisXDocument.SaveAs("c:\\myforms\\form1.xml");}else{thisXDocument.
<span class="label">Save</span>
();}
Remarks
The Save method will return an error if called from a form that is not fully trusted.