SPWeb.Fields property

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

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPFieldCollection
An SPFieldCollection object that represents the fields.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace