SPListItem.Item property (Guid)

Gets or sets the value that is contained by the field identified by the specified GUID.

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

public Object this[
	Guid fieldId
] { get; set; }


Type: System.Guid

The GUID that is associated with the field.

Property value

Type: System.Object
An object that contains the field value.


The field does not exist.

Important noteImportant

To improve performance and optimize the number of SQL Server queries that SharePoint Foundation must execute, use the GetItems method of the SPList class to retrieve items that are based on the value of their fields. The GetItems method allows you to specify search criteria by passing a Collaborative Application Markup Language (CAML) query through the SPQuery or SPView class. In addition, list performance may be compromised if a list contains an unnecessarily large number of fields.