HtmlControl.IAttributeAccessor.SetAttribute(String, String) Método

Definição

Para obter uma descrição desse membro, confira SetAttribute(String, String).For a description of this member, see SetAttribute(String, String).

 virtual void System.Web.UI.IAttributeAccessor.SetAttribute(System::String ^ name, System::String ^ value) = System::Web::UI::IAttributeAccessor::SetAttribute;
void IAttributeAccessor.SetAttribute (string name, string value);
abstract member System.Web.UI.IAttributeAccessor.SetAttribute : string * string -> unit
override this.System.Web.UI.IAttributeAccessor.SetAttribute : string * string -> unit
Sub SetAttribute (name As String, value As String) Implements IAttributeAccessor.SetAttribute

Parâmetros

name
String

O nome do atributo a ser definido.The name of the attribute to set.

value
String

O valor para o qual definir o atributo.The value to set the attribute to.

Implementações

Comentários

O IAttributeAccessor.SetAttribute método chama o SetAttribute método.The IAttributeAccessor.SetAttribute method calls the SetAttribute method.

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de HtmlControl é convertida em uma interface de IAttributeAccessor.It can be used only when the HtmlControl instance is cast to an IAttributeAccessor interface.

Aplica-se a

Confira também