Partilhar via


SPViewStyle.ViewFields Property

Gets the collection of view fields for the style.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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