Poznámka
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Closes the form.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
Sub CloseDocument
'Usage
Dim instance As _XDocument4
instance.CloseDocument()
void CloseDocument()
Implements
Remarks
Calling the CloseDocument method is equivalent to calling the Close method of the XDocuments3 collection.
Examples
In the following example, the CloseDocument method of the XDocument object is used to close the current form.
_XDocument3 thisDoc = (_XDocument3)thisXDocument;
thisDoc.CloseDocument();
Dim thisDoc As _XDocument4 = DirectCast(_
thisXDocument, _XDocument4)
thisDoc.CloseDocument()