Share via


SPWeb.Fields Property

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

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

Syntax

Public ReadOnly Property Fields As SPFieldCollection
    Get

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