SPListItem.Fields property
Gets or sets the collection of all fields in the parent of the item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Property Fields As SPFieldCollection
Get
Set
'Usage
Dim instance As SPListItem
Dim value As SPFieldCollection
value = instance.Fields
instance.Fields = value
public override SPFieldCollection Fields { get; set; }
Property value
Type: Microsoft.SharePoint.SPFieldCollection
An SPFieldCollection object that represents the fields.
Remarks
Using the Fields property on a list item object has identical results to calling ParentList.Fields .on the list item object.