WebControlToolboxItem.GetToolAttributeValue(IDesignerHost, Type) Método

Definição

Obtém o valor do tipo de atributo especificado do item da caixa de ferramentas.

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

O IDesignerHost para o documento de design atual.

attributeType
Type

O tipo de atributo para recuperar o valor de.

Devoluções

O valor do tipo especificado de atributo.

Exceções

O attributeType parâmetro não é um PersistChildrenAttribute.

Observações

A implementação padrão irá lançar um ArgumentException se o attributeType parâmetro for qualquer coisa diferente de um PersistChildrenAttribute.

Aplica-se a

Ver também