Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an SPWorkItemCollection instance (as a subcollection) from individual sites while iterating over all sites to assemble the full work item collection from the site-specific subcollections.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function SubCollection ( _
site As SPSite, _
web As SPWeb, _
offset As UInteger, _
maxIndex As UInteger _
) As SPWorkItemCollection
'Usage
Dim instance As SPWorkItemCollection
Dim site As SPSite
Dim web As SPWeb
Dim offset As UInteger
Dim maxIndex As UInteger
Dim returnValue As SPWorkItemCollection
returnValue = instance.SubCollection(site, _
web, offset, maxIndex)
public SPWorkItemCollection SubCollection(
SPSite site,
SPWeb web,
uint offset,
uint maxIndex
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe SPSite instance whose work items are assembled into a subcollection.
web
Type: Microsoft.SharePoint.SPWebThe SPWeb instance whose site collection comprises sites from which work items are assembled into a subcollection.
offset
Type: System.UInt32Specifies the starting point in index of the site collection array at which the subcollection starts.
maxIndex
Type: System.UInt32Specifies the index that is one integer beyond the end of the site collection array that constitutes the subcollection.
Return Value
Type: Microsoft.SharePoint.SPWorkItemCollection
Returns an SPWorkItemCollection object instance that acts as a subcollection.