編輯

共用方式為


DocumentEvents2_Event.Open Event

Definition

Occurs when a document is opened.

public:
 event Microsoft::Office::Interop::Word::DocumentEvents2_OpenEventHandler ^ Open;
event Microsoft.Office.Interop.Word.DocumentEvents2_OpenEventHandler Open;
member this.Open : Microsoft.Office.Interop.Word.DocumentEvents2_OpenEventHandler 
Event Open As DocumentEvents2_OpenEventHandler 

Event Type

Remarks

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

Applies to