Share via


SPListItemVersion.Item Property (String)

Gets a value in the item version based on the specified column display name.

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 ( _
    fieldName As String _
) As Object
    Get
'Usage
Dim instance As SPListItemVersion
Dim fieldName As String
Dim value As Object

value = instance.Item(fieldName)
public Object this[
    string fieldName
] { get; }

Parameters

  • fieldName
    Type: System.String

    A string that specifies the display name of the field.

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