WebControlToolboxItem.GetToolAttributeValue Method

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

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

public:
Object^ GetToolAttributeValue (
	IDesignerHost^ host, 
	Type^ attributeType
)
public Object GetToolAttributeValue (
	IDesignerHost host, 
	Type attributeType
)
public function GetToolAttributeValue (
	host : IDesignerHost, 
	attributeType : Type
) : Object
Not applicable.

Parameters

host

The IDesignerHost for the current design document.

attributeType

The type of attribute to retrieve the value of.

Return Value

The value of the specified type of attribute.

Exception typeCondition

ArgumentException

The attributeType parameter is not a PersistChildrenAttribute.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: