Share via


Web.Fields property

Gets the collection of field objects that represents all the fields in the Web site.

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 Web
Dim value As FieldCollection

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

Property value

Type: Microsoft.SharePoint.Client.FieldCollection
A FieldCollection object that represents the fields.

Remarks

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

See also

Reference

Web class

Web members

Microsoft.SharePoint.Client namespace