Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

ApplicationEvents4_NewDocumentEventHandler Delegate

A Delegate type used to add an event handler for the NewDocument event. The NewDocument event occurs when a new document is created.

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

Sub Sub1(Doc As Document)
End Sub
Dim applicationEvents4_NewDocumentEventHandler1 As New ApplicationEvents4_NewDocumentEventHandler(AddressOf Sub1)

public delegate void ApplicationEvents4_NewDocumentEventHandler(
	[In] Document Doc
public delegate void ApplicationEvents4_NewDocumentEventHandler(
	/*in*/Document Doc
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The new document.

Development Platforms

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

Target Platforms