ViewFields Element (DeploymentManifest - SPWebPart)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Represents a collection of fields that are included on a Windows SharePoint Services 3.0 web part view.

Definition

DECLARATION
<xs:element name="ViewFields" type="SPFieldLinkCollection" minOccurs="0" maxOccurs="1" />

USAGE
<WebPart>
        <ViewFields>
                <FieldRef />
        </ViewFields>
</WebPart>

Type

SPFieldLinkCollection object

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

None

Child elements

FieldRef Element (DeploymentManifest - SPFieldLinkCollection)

Parent elements

WebPart Element (DeploymentManifest)

See also