SPWorkItemCollection.Item Property (Guid)
Gets a specific SPWorkItem object in the collection by using a globally unique identifier (GUID).
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property Item ( _
workItemId As Guid _
) As SPWorkItem
Get
'Usage
Dim instance As SPWorkItemCollection
Dim workItemId As Guid
Dim value As SPWorkItem
value = instance.Item(workItemId)
public SPWorkItem this[
Guid workItemId
] { get; }
Parameters
workItemId
Type: System.GuidThe globally unique identifier (GUID) that identifies the work item.
Property Value
Type: Microsoft.SharePoint.SPWorkItem
Returns a globally unique identifier (GUID) for the specified work item.