SPWorkItemCollection.Item Property (Int32)
Gets a specific SPWorkItem object in the collection by its index into the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property Item ( _
index As Integer _
) As SPWorkItem
Get
'Usage
Dim instance As SPWorkItemCollection
Dim index As Integer
Dim value As SPWorkItem
value = instance.Item(index)
public SPWorkItem this[
int index
] { get; }
Parameters
index
Type: System.Int32Integer specifying the position of the specified SPWorkItem object in the collection.
Property Value
Type: Microsoft.SharePoint.SPWorkItem
Returns an integer specifying the object position by index.