System.Web.UI.Design.WebControlToolboxItem.GetToolAttributeValue Method

Gets the value of the specified type of attribute of the toolbox item.

Syntax

public object GetToolAttributeValue (System.ComponentModel.Design.IDesignerHost host, Type attributeType)

Parameters

host
The System.ComponentModel.Design.IDesignerHost for the current design document.
attributeType
The type of attribute to retrieve the value of.

Returns

The value of the specified type of attribute.

Remarks

The default implementation will throw an ArgumentException if the attributeType parameter is anything other than a System.Web.UI.PersistChildrenAttribute.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0