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