Share via


DocumentEvents2_Event Members

Events interface for Microsoft Word Document object events.

The following tables list the members exposed by the DocumentEvents2_Event type.

Public Methods

  Name Description
add_Close  
add_New  
add_Open  
add_Sync  
add_XMLAfterInsert  
add_XMLBeforeDelete  
remove_Close  
remove_New  
remove_Open  
remove_Sync  
remove_XMLAfterInsert  
remove_XMLBeforeDelete  

Top

Public Events

  Name Description
Close Occurs when a document is closed.
New Occurs when a new document based on the template is created.
Open Occurs when a document is opened.
Sync Occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server.
XMLAfterInsert Occurs when a user adds a new XML element to a document.
XMLBeforeDelete Occurs when a user deletes an XML element from a document.

Top

See Also

Reference

DocumentEvents2_Event Interface
Microsoft.Office.Interop.Word Namespace