| WebPartZoneInstance Methods |
The WebPartZoneInstance type exposes the following members.
| Name | Description | |
|---|---|---|
| AddWebPart(Int32, Int32) |
Adds a web part instance of a specified type to the webparts.
| |
| AddWebPart(WebPartInstance, Int32) |
Add the web part to the zone. If the web part is present in different zone, creates a copy of the web part.
| |
| ClearValues |
Clears the given properties
| |
| Clone |
Returns the cloned zone instance object.
| |
| CloneWebPart |
Clones the web part.
| |
| EnsureWebPartInstanceIdentificators |
Ensures web part ControlID and instance GUID for current zone
| |
| GetUniqueWebPartId |
Returns unique web part ID within the given Page template.
| |
| GetValue |
Returns the value of the given webpart property property.
| |
| GetWebPart(Guid) |
Returns the web part instance with specified GUID or null when not found.
| |
| GetWebPart(String, Boolean) |
Returns the web part instance with specified ID or null when not found.
| |
| GetXmlNode |
Returns the Xml node representing the zone configuration.
| |
| LoadVariants |
Loads all the MVT/Content personalization variants for this zone instance.
| |
| RemoveAllWebParts |
Removes all web parts from the schema.
| |
| RemoveWebPart |
Removes the web part instance from the schema.
| |
| SetValue |
Sets the property value of the control.
|