Click or drag to resize
WebPartInstance Methods

The WebPartInstance type exposes the following members.

Methods
  NameDescription
Public methodClearValues
Clears the given properties
Public methodClone
Clones the web part object (GUID stays the same when cloned).
Public methodFindVariant
Finds the variant with the given variant ID
Public methodGetValue
Returns the value of the given web part property.
Public methodGetXmlNode
Returns the XML node representing the webpart instance.
Public methodLoadProperties(DataRow)
Loads default values from specified DataRow to the webpart properties.
Public methodLoadProperties(WebPartInstance)
Loads the webpart properties from given webpart.
Public methodLoadVariants
Loads all the MVT/Content personalization variants for this web part instance.
Public methodResolvePropertyMacros
Resolves the property macros, replaces the {%propertyname%} macro with the property value.
Public methodSetValue
Sets the property value of the control.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Top
See Also