Share via


SPViewStyle.ViewFields property

Gets the collection of view fields for the style.

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

Syntax

'Declaration
Public ReadOnly Property ViewFields As SPViewFieldCollection
    Get
'Usage
Dim instance As SPViewStyle
Dim value As SPViewFieldCollection

value = instance.ViewFields
public SPViewFieldCollection ViewFields { get; }

Property value

Type: Microsoft.SharePoint.SPViewFieldCollection
An SPViewFieldCollection object that represents the view fields.

See also

Reference

SPViewStyle class

SPViewStyle members

Microsoft.SharePoint namespace