Share via


SPEventContext.ContextObjectId property

Gets the identifier (ID) of the context for the workflow event.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ContextObjectId As Guid
    Get
'Usage
Dim instance As SPEventContext
Dim value As Guid

value = instance.ContextObjectId
public Guid ContextObjectId { get; }

Property value

Type: System.Guid
The ID of the context for the workflow event.

See also

Reference

SPEventContext class

SPEventContext members

Microsoft.SharePoint namespace