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)

Syntax

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

value = instance(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