List.Fields Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Fields As FieldCollection
    Get
'Usage
Dim instance As List
Dim value As FieldCollection

value = instance.Fields
[RemoteAttribute]
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