Share via


SPWebPart.ViewFields Property (Microsoft.SharePoint.Publishing.Internal.Administration.Schema)

Namespace: Microsoft.SharePoint.Publishing.Internal.Administration.Schema
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)

Syntax

'Declaration
<XmlArrayItemAttribute("FieldRef", IsNullable:=False)> _
Public Property ViewFields As SPFieldLink()
'Usage
Dim instance As SPWebPart
Dim value As SPFieldLink()

value = instance.ViewFields

instance.ViewFields = value
[XmlArrayItemAttribute("FieldRef", IsNullable=false)] 
public SPFieldLink[] ViewFields { get; set; }

See Also

Reference

SPWebPart Class
SPWebPart Members
Microsoft.SharePoint.Publishing.Internal.Administration.Schema Namespace