Condividi tramite


SPItemEventProperties.AfterProperties Property

Gets a hash table of properties consisting of string/value pairs that correspond to fields in the SPItem object after the event occurred.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property AfterProperties As SPItemEventDataCollection
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As SPItemEventDataCollection

value = instance.AfterProperties
public SPItemEventDataCollection AfterProperties { get; }

Property Value

Type: Microsoft.SharePoint.SPItemEventDataCollection
An SPItemEventDataCollection object that represents the properties of the item after the event occurred.

Remarks

When a Boolean column value in a list is set to true and the ItemUpdating method is called, the AfterProperties property reports -1 as the value instead.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace