SPItemEventReceiver.ItemAttachmentDeleted method
處理非同步附件移除項目之後,就會發生的事件。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Sub ItemAttachmentDeleted ( _
properties As SPItemEventProperties _
)
'用途
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemAttachmentDeleted(properties)
public virtual void ItemAttachmentDeleted(
SPItemEventProperties properties
)
參數
properties
Type: Microsoft.SharePoint.SPItemEventProperties事件處理常式的屬性。
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | properties是 null 。 |
備註
附件移除清單項目,但沒有其他的更新發生時,就會發生這個事件。如果其他變更的項目ItemUpdated事件之後發生此事件。
如果移除項目本身,則不會發生這個事件。
Before和After屬性的文件] 上的回傳事件的保證,但Before屬性沒有可用的清單項目上的回傳事件。