Export (0) Print
Expand All

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)

'Declaration
PublicSubGetWorkItems ( _
	workItemsAsSPWorkItemCollection, _
	<OutAttribute> ByRefpdwColCountAsUInteger, _
	<OutAttribute> ByRefpdwRowCountAsUInteger, _
	<OutAttribute> ByRefpvarWorkItemsAsObject _
)
'Usage
DiminstanceAsSPSiteDimworkItemsAsSPWorkItemCollectionDimpdwColCountAsUIntegerDimpdwRowCountAsUIntegerDimpvarWorkItemsAsObject

instance.GetWorkItems(workItems, pdwColCount, _
	pdwRowCount, pvarWorkItems)

Parameters

workItems
Type: Microsoft.SharePoint.SPWorkItemCollection

An SPWorkItemCollection object that represents the collection of work items.

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.

pvarWorkItems
Type: System.Object

The individual work items.

Show:
© 2014 Microsoft