| WebPartInstance Methods | 
The WebPartInstance type exposes the following members.
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ClearValues | 
            Clears the given properties
             | 
|  | Clone | 
            Clones the web part object (GUID stays the same when cloned).
             | 
|  | FindVariant | 
            Finds the variant with the given variant ID
             | 
|  | GetValue | 
            Returns the value of the given web part property.
             | 
|  | GetXmlNode | 
            Returns the XML node representing the webpart instance.
             | 
|  | LoadProperties(DataRow) | 
            Loads default values from specified DataRow to the webpart properties.
             | 
|  | LoadProperties(WebPartInstance) | 
            Loads the webpart properties from given webpart.
             | 
|  | LoadVariants | 
            Loads all the MVT/Content personalization variants for this web part instance.
             | 
|  | ResolvePropertyMacros | 
            Resolves the property macros, replaces the {%propertyname%} macro with the property value.
             | 
|  | SetValue | 
            Sets the property value of the control.
             | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | CheckRequiredColumns | 
            Returns true if given list of columns do not have null values in the object
            (Defined by DataExtensions.) | 
 See Also
See Also