Share via


ViewData Element (DeploymentManifest - SPWebPart)

Applies to: SharePoint Foundation 2010

Represents a parameter that enables a view of data associated with an instance of a Windows SharePoint Services 3.0 Web Part (WebPart) object.

DECLARATION
<xs:element name="ViewData" minOccurs="0" maxOccurs="1" />

USAGE
<WebPart>
        <ViewData />
</WebPart>

Type

xs:string

Attributes

Attribute

Type

Description

None

Child Elements

None

Parent Elements

WebPart Element (DeploymentManifest)

Remarks

Web Parts can derive from either of two base classes - an ASP.NET Web Part (WebPart), or a SharePoint Foundation Web Part (WebPart)

See Also

Reference

SPView

ViewData

WebPart

WebPart

Concepts

DeploymentManifest Schema