共用方式為


ViewData Element (DeploymentManifest - SPWebPart)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 Windows SharePoint Services Web Part (WebPart)

See Also

Reference

SPView

ViewData

WebPart

WebPart

Concepts

DeploymentManifest Schema