SPItemEventReceiver.ItemUpdated method
處理非同步變更項目之後,就會發生的事件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Sub ItemUpdated ( _
properties As SPItemEventProperties _
)
'用途
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemUpdated(properties)
public virtual void ItemUpdated(
SPItemEventProperties properties
)
參數
properties
Type: Microsoft.SharePoint.SPItemEventProperties事件處理常式的屬性。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | properties是 null 。 |
備註
這個事件可以用於在回應時,例如,表單編輯、 資料工作表後,物件模型呼叫,或是 Web 服務呼叫。
當您新增新的項目時,會引發ItemAdded事件。不過,在其中使用檔案總管檢視的情況下, ItemAdded與此事件會引發。在這種情況下,這個事件一定會發生在ItemAdded事件發生之後。
Before和After屬性的文件] 上的回傳事件的保證,但Before屬性沒有可用的清單項目上的回傳事件。