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)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
workItemId As Guid _
) As SPWorkItem
Get
'Usage
Dim instance As SPWorkItemCollection
Dim workItemId As Guid
Dim value As SPWorkItem
value = instance(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.