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 documento de design atual.

attributeType
Type

O tipo de atributo do qual recuperar o valor.

Retornos

O valor do tipo de atributo especificado.

Exceções

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

Comentários

A implementação padrão gerará um ArgumentException se o attributeType parâmetro for diferente de um PersistChildrenAttribute.

Aplica-se a

Confira também