Partager via


Item(String) Property

The Item property of the SPListItem class gets or sets a field value in the item based on the specified field display name.

[C#] In C#, this property is an indexer for the SPListItem class.

Parameters

strItem   A string that contains the display name of the field.

Property Value

An object that contains the field value.

Remarks

For information on the field types used in Microsoft Windows SharePoint Services and how they relate to .NET types, see the SPListItem class.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security