WebControlToolboxItem.GetToolAttributeValue(IDesignerHost, Type) Método

Definición

Obtiene el valor del tipo de atributo especificado del elemento del cuadro de herramientas.

public:
 System::Object ^ GetToolAttributeValue(System::ComponentModel::Design::IDesignerHost ^ host, Type ^ attributeType);
public object GetToolAttributeValue(System.ComponentModel.Design.IDesignerHost host, Type attributeType);
member this.GetToolAttributeValue : System.ComponentModel.Design.IDesignerHost * Type -> obj
Public Function GetToolAttributeValue (host As IDesignerHost, attributeType As Type) As Object

Parámetros

host
IDesignerHost

para IDesignerHost el documento de diseño actual.

attributeType
Type

Tipo de atributo del que se va a recuperar el valor.

Devoluciones

Valor del tipo de atributo especificado.

Excepciones

El attributeType parámetro no es .PersistChildrenAttribute

Comentarios

La implementación predeterminada producirá un ArgumentException si el attributeType parámetro es distinto de .PersistChildrenAttribute

Se aplica a

Consulte también