SPListItemVersionCollection.Item property

Gets the version at the specified index in the collection.

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

Syntax

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

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

Parameters

  • iIndex
    Type: System.Int32

    A 32-bit integer that specifies the index of the version.

Property value

Type: Microsoft.SharePoint.SPListItemVersion
An SPListItemVersion object that represents the list item version.

See also

Reference

SPListItemVersionCollection class

SPListItemVersionCollection members

Microsoft.SharePoint namespace