共用方式為


SPWorkItemCollection.Item property (Int32)

取得特定的SPWorkItem物件集合中由其索引至集合。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPWorkItem
    Get
'用途
Dim instance As SPWorkItemCollection
Dim index As Integer
Dim value As SPWorkItem

value = instance(index)
public SPWorkItem this[
    int index
] { get; }

參數

Property value

Type: Microsoft.SharePoint.SPWorkItem
傳回指定索引的物件位置的整數。

請參閱

參照

SPWorkItemCollection class

SPWorkItemCollection members

Item overload

Microsoft.SharePoint namespace