共用方式為


SPListItemVersionCollection.Item property

取得集合中指定之索引處的版本。

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

Syntax

'宣告
Public ReadOnly Default Property Item ( _
    iIndex As Integer _
) As SPListItemVersion
    Get
'用途
Dim instance As SPListItemVersionCollection
Dim iIndex As Integer
Dim value As SPListItemVersion

value = instance(iIndex)
public SPListItemVersion this[
    int iIndex
] { get; }

參數

  • iIndex
    Type: System.Int32

    32 位元的整數,指定版本的索引。

Property value

Type: Microsoft.SharePoint.SPListItemVersion
SPListItemVersion 物件,表示清單項目版本。

請參閱

參照

SPListItemVersionCollection class

SPListItemVersionCollection members

Microsoft.SharePoint namespace