Edit

Share via


_XDocument4.Save Method

Definition

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.

Applies to