Share via


SPListItemVersion.Item property (Int32)

Gets the value that is contained by the item version at the specified index in the collection of fields that is associated with the item.

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

Syntax

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

value = instance(index)
public Object this[
    int index
] { get; }

Parameters

  • index
    Type: System.Int32

    A 32-bit integer that specifies the index of the field with respect to the collection of fields in the list.

Property value

Type: System.Object
An object that represents the value of the field.

See also

Reference

SPListItemVersion class

SPListItemVersion members

Item overload

Microsoft.SharePoint namespace