Share via


SPFileVersionCollection.Item Property

Gets the file version object at the specified index in the collection. In C#, this property is the indexer for the SPFileVersionCollection class.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Item ( _
    iIndex As Integer _
) As SPFileVersion
    Get
'Usage
Dim instance As SPFileVersionCollection
Dim iIndex As Integer
Dim value As SPFileVersion

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

Parameters

  • iIndex
    Type: System.Int32

    A 32-bit integer that specifies the index.

Property Value

Type: Microsoft.SharePoint.SPFileVersion
An SPFileVersion object that represents the file version object.

See Also

Reference

SPFileVersionCollection Class

SPFileVersionCollection Members

Microsoft.SharePoint Namespace