War diese Seite hilfreich?
Ihr Feedback ist uns wichtig. Teilen Sie uns Ihre Meinung mit.
Weiteres Feedback?
1500 verbleibende Zeichen
Exportieren (0) Drucken
Alle erweitern

DocumentEvents2_Event.Close Event

Occurs when a document is closed.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
WithEvents documentEvents2_Event1 As DocumentEvents2_Event
Function documentEvents2_Event1_Close() As Void
	Handles documentEvents2_Event1.Close
End Function

event DocumentEvents2_CloseEventHandler Close;
 void add_Close(DocumentEvents2_CloseEventHandler handler);
 void remove_Close(DocumentEvents2_CloseEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

If the event procedure is stored in a template, the procedure will run when a new document based on that template is closed and when the template itself is closed (after being opened as a document).


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen:
© 2015 Microsoft