SPSite.GetWorkItems Method

Returns the individual work items, number of columns, and number of rows in the specified work item collection as output parameters.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Sub GetWorkItems ( _
    workItems As SPWorkItemCollection, _
    <OutAttribute> ByRef pdwColCount As UInteger, _
    <OutAttribute> ByRef pdwRowCount As UInteger, _
    <OutAttribute> ByRef pvarWorkItems As Object _
)
'Usage
Dim instance As SPSite
Dim workItems As SPWorkItemCollection
Dim pdwColCount As UInteger
Dim pdwRowCount As UInteger
Dim pvarWorkItems As Object

instance.GetWorkItems(workItems, pdwColCount, _
    pdwRowCount, pvarWorkItems)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public void GetWorkItems(
    SPWorkItemCollection workItems,
    out uint pdwColCount,
    out uint pdwRowCount,
    out Object pvarWorkItems
)

Parameters

  • pdwColCount
    Type: System.UInt32

    A 32-bit unsigned integer that specifies the number of work item columns.

  • pdwRowCount
    Type: System.UInt32

    A 32-bit unsigned integer that specifies the number of work item rows.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace