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)

Syntax

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

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