WebPart Element (Site)

Applies to: SharePoint Foundation 2010

The introduction is required.

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

Attributes

Attribute

Description

AllUsers

Optional Text.

Assembly

Optional Text.

Cache

Optional Text.

Class

Optional Text.

DisplayName

Optional Text.

Flags

Optional Text.

FrameState

Optional Integer.

IsIncluded

Optional Boolean.

List

Optional Text.

PerUser

Optional Text.

SolutionId

Optional Text.

Src

Optional Text.

Type

Optional Integer.

Url

Optional Text.

Version

Optional Text.

WebPartIdProperty

Optional Text.

WPTypeId

Optional Text.

Child Elements

None

Parent Elements

BinarySerializedWebPart

Occurrences

Minimum: 1

Maximum: Unbounded