共用方式為


Personalization Element (DeploymentManifest)

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 personalization data pertaining to an instance of a Windows SharePoint Services 3.0 file (SPFile) object.

DECLARATION
<xs:element name="Personalization" 
        type="SPPersonalization" 
        minOccurs="1" maxOccurs="unbounded" 
/>

USAGE
<Personalizations>
        <Personalization
                WebPartId="Guid"
                UserId="xs:int"
                WebPartOrder="xs:string"
                WebPartZoneId="xs:string"
                IsIncluded="xs:string"
                FrameState="xs:string"
                UserProperties="xs:string"
        />
</Personalizations>

Type

SPPersonalization

Attributes

Attribute

Type

Description

WebPartId

Guid Simple Type (DeploymentManifest)

Required. Unique identifier of the Web Part for which the personalization is associated.

UserId

xs:int

Required. Identifier of the user for whom the personalization is associated.

WebPartOrder

xs:string

Optional. The order of Web Parts ordered in a Web Part zone.

WebPartZoneId

xs:string

Optional. Identifier of the Web Part zone in which the associated Web Part is located.

IsIncluded

xs:string

Optional.

FrameState

xs:string

Optional.

UserProperties

xs:string

Optional.

Child Elements

None

Parent Elements

Personalizations Element (DeploymentManifest)

See Also

Reference

SPFile

Concepts

DeploymentManifest Schema