共用方式為


SyncCallbacks.ItemChanging 事件

在套用變更之前,就會發生。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
Public Event ItemChanging As EventHandler(Of ItemChangingEventArgs)
'用途
Dim instance As SyncCallbacks
Dim handler As EventHandler(Of ItemChangingEventArgs)

AddHandler instance.ItemChanging, handler
public event EventHandler<ItemChangingEventArgs> ItemChanging
public:
event EventHandler<ItemChangingEventArgs^>^ ItemChanging {
    void add (EventHandler<ItemChangingEventArgs^>^ value);
    void remove (EventHandler<ItemChangingEventArgs^>^ value);
}
/** @event */
public void add_ItemChanging (EventHandler<ItemChangingEventArgs> value)

/** @event */
public void remove_ItemChanging (EventHandler<ItemChangingEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

請參閱

參考

SyncCallbacks 類別
SyncCallbacks 成員
Microsoft.Synchronization 命名空間