SPWorkItemCollection constructor (SPSite, Guid)
Instantiates a new instance of SPWorkItemCollection that specifies the SPSite object, and a uniqe identifier for the work item type for object in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
site As SPSite, _
workItemType As Guid _
)
'Usage
Dim site As SPSite
Dim workItemType As Guid
Dim instance As New SPWorkItemCollection(site, workItemType)
public SPWorkItemCollection(
SPSite site,
Guid workItemType
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteMicrosoft.SharePoint.SPSite object instance representing the site on which the collection work items are set.
workItemType
Type: System.GuidGUID that specifies the work item type for objects in the work item collection.
Remarks
Work items are set on an instance of Microsoft.SharePoint.SPSite.
See also
Reference
Microsoft.SharePoint namespace