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)
Available in Sandboxed Solutions: No

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