共用方式為


WebPart Element (Module)

Applies to: SharePoint Foundation 2010

Specifies the configuration information for a Web Part that has been serialized to binary data.

<WebPart 
   AllUsers = string 
   Assembly = string 
   Cache = string 
   Class = string 
   DisplayName = string 
   Flags = string 
   FrameState = integer 
   IsIncluded = "TRUE" | "FALSE" 
   List = string 
   PerUser = string 
   SolutionId = string 
   Src = string 
   Type = integer 
   Url = string 
   Version = string 
   View = string 
   WebId = string 
   WebPartIdProperty = string 
   WPTypeId = string />

Attributes

Attribute

Description

AllUsers

Optional string.

Assembly

Optional string.

Cache

Optional string.

Class

Optional string.

DisplayName

Optional string.

Flags

Optional string.

FrameState

Optional integer.

IsIncluded

Optional Boolean.

List

Optional string.

PerUser

Optional string.

SolutionId

Optional string.

Src

Optional string.

Type

Optional string.

Url

Optional string.

Version

Optional string.

View

Optional string.

WebId

Optional string.

WebPartIdProperty

Optional string.

WPTypeId

Optional string.

Child Elements

Element

Description

None

N/A

Parent Elements

BinarySerializedWebPart Element (Module)

Occurrences

Minimum: 1

Maximum: Unbounded

See Also

Concepts

Module

Modules

How to: Provision a File