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.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |