SPItem.Fields property

Gets or sets the collection of fields for metadata associated with the item.

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

Syntax

'Declaration
Public Overridable Property Fields As SPFieldCollection
    Get
    Set
'Usage
Dim instance As SPItem
Dim value As SPFieldCollection

value = instance.Fields

instance.Fields = value
public virtual SPFieldCollection Fields { get; set; }

Property value

Type: Microsoft.SharePoint.SPFieldCollection
A Microsoft.SharePoint.SPFieldCollection object that represents the fields.

See also

Reference

SPItem class

SPItem members

Microsoft.SharePoint namespace