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)

Syntax

'Declaration
Public ReadOnly Property WorkItemType As Guid
    Get
'Usage
Dim instance As SPWorkItemCollection
Dim value As Guid

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

Property value

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

Remarks

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.

See also

Reference

SPWorkItemCollection class

SPWorkItemCollection members

Microsoft.SharePoint namespace