共用方式為


SPEventContext.ContextType property

取得工作流程事件型別內容的內容 ID。

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

Syntax

'宣告
Public ReadOnly Property ContextType As Guid
    Get
'用途
Dim instance As SPEventContext
Dim value As Guid

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

Property value

Type: System.Guid
工作流程事件的內容型別 ID。

請參閱

參照

SPEventContext class

SPEventContext members

Microsoft.SharePoint namespace