ApplicationEvents4_DocumentSyncEventHandler Delegate
A Delegate type used to add an event handler for the DocumentSync event. The DocumentSync event occurs when the local copy of a document that is part of a Document Workspace is synchronized with the copy on the server.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Sub Sub1(Doc As Document, _
SyncEventType As MsoSyncEventType)
End Sub
Dim applicationEvents4_DocumentSyncEventHandler1 As New ApplicationEvents4_DocumentSyncEventHandler(AddressOf Sub1)
Syntax
Public Delegate Sub ApplicationEvents4_DocumentSyncEventHandler( _
<InAttribute()> ByVal Doc As Document, _
<InAttribute()> ByVal SyncEventType As MsoSyncEventType _
)
public delegate void ApplicationEvents4_DocumentSyncEventHandler(
[In] Document Doc,
[In] MsoSyncEventType SyncEventType
);
public delegate Void ApplicationEvents4_DocumentSyncEventHandler(
Document^ Doc,
MsoSyncEventType^ SyncEventType
);
public delegate void ApplicationEvents4_DocumentSyncEventHandler(
/*in*/Document Doc,
/*in*/MsoSyncEventType SyncEventType
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.
Parameters
- Doc
Document. The document being synchronized.
- SyncEventType
Required Microsoft.Office.Core.MsoSyncEventType. The status of the document synchronization.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000