SPListItemVersionCollection.Item Property
Gets the version at the specified index in the collection.
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 SPListItemVersion
Get
'Usage
Dim instance As SPListItemVersionCollection
Dim iIndex As Integer
Dim value As SPListItemVersion
value = instance.Item(iIndex)
public SPListItemVersion this[
int iIndex
] { get; }
Parameters
iIndex
Type: System.Int32A 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