WorkItemType property
Collapse the table of content
Expand the table of content

SPWorkItemCollection.WorkItemType property

Gets a globally unique identifier (GUID) that specifies the type of work items in the SPWorkItemCollection collection. The types themselves are user defined.

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

public Guid WorkItemType { get; }

Property value

Type: System.Guid
Returns a GUID that specifies a type for collection of runnable work items.

WorkItemType is a primary sort key. The type property is user definable, such that setting a GUID property on a specific work item collection defines the type for the entire collection. You can then associate a name with that type.

The ISPWorkItemHost handlers for processing runnable work items are specific to work item types.

© 2016 Microsoft