XDocument.CloseDocument Method
InfoPath Developer Reference |
Closes the form.
Version Information
Version Added: InfoPath 2007
Syntax
expression.CloseDocument
expression An expression that returns a XDocument object.
Return Value
Nothing
Remarks
Calling the CloseDocument method is equivalent to calling the Close method of the XDocuments collection.
Remarks
Security Level 3: Can be accessed only by fully trusted forms.