List.Fields property

Gets a value that specifies the collection of all fields in the list.

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

Syntax

'Declaration
Public ReadOnly Property Fields As FieldCollection
    Get
'Usage
Dim instance As List
Dim value As FieldCollection

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

Property value

Type: Microsoft.SharePoint.Client.FieldCollection
Returns a FieldCollection instance representing the collection of all fields in the list.

Remarks

It must not be a null reference (Nothing in Visual Basic).

See also

Reference

List class

List members

Microsoft.SharePoint.Client namespace