共用方式為


SPFileVersionCollection.Item property

取得集合中指定之索引處的物件檔案版本。在 C# 中,這個屬性會是SPFileVersionCollection類別的索引子。

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

Syntax

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

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

參數

  • iIndex
    Type: System.Int32

    指定的索引為 32 位元整數。

Property value

Type: Microsoft.SharePoint.SPFileVersion
SPFileVersion 物件,表示物件的檔案版本。

請參閱

參照

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace