SPItem.Item property (Int32)

Gets or sets a field object for the item that has the specified integer index.

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

public abstract Object this[
	int index
] { get; set; }


Type: System.Int32

A 32-bit integer representing the index.

Property value

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

The Item property throws an ArgumentOutOfRangeException if the value of index is less than 0 or greater than the count of fields.