Partilhar via


SPItemEventProperties.Context Property

Gets the context of the item event.

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

Syntax

'Declaration
Public ReadOnly Property Context As SPEventContext
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As SPEventContext

value = instance.Context
public SPEventContext Context { get; }

Property Value

Type: Microsoft.SharePoint.SPEventContext
An SPEventContext object that represents the context of the item event.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace