Web.Fields Property

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

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

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