Condividi tramite


SPListItemCollection.Fields Property

Returns a collection that contains all the fields that the query returned.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Fields As SPFieldCollection
    Get
'Usage
Dim instance As SPListItemCollection
Dim value As SPFieldCollection

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

Property Value

Type: Microsoft.SharePoint.SPFieldCollection
An SPFieldCollection object that contains a collection of SPField objects.

See Also

Reference

SPListItemCollection Class

SPListItemCollection Members

Microsoft.SharePoint Namespace