Export (0) Print
Expand All

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

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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0
Show:
© 2015 Microsoft