做為輸出參數指定的工作項目集合中傳回個別的工作項目、 欄、 數及列數。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub GetWorkItems ( _
workItems As SPWorkItemCollection, _
<OutAttribute> ByRef dwColCount As UInteger, _
<OutAttribute> ByRef dwRowCount As UInteger, _
<OutAttribute> ByRef varWorkItems As Object _
)
'用途
Dim instance As SPContentDatabase
Dim workItems As SPWorkItemCollection
Dim dwColCount As UInteger
Dim dwRowCount As UInteger
Dim varWorkItems As Object
instance.GetWorkItems(workItems, dwColCount, _
dwRowCount, varWorkItems)
public void GetWorkItems(
SPWorkItemCollection workItems,
out uint dwColCount,
out uint dwRowCount,
out Object varWorkItems
)
參數
workItems
Type: Microsoft.SharePoint.SPWorkItemCollectionSPWorkItemCollection物件表示的工作項目。
dwColCount
Type: System.UInt3232 位元不帶正負號的整數,會指定的工作項目的欄數。
dwRowCount
Type: System.UInt3232 位元不帶正負號的整數,會指定的工作項目列數。
varWorkItems
Type: System.Objectobject代表個別的工作項目。