Uredi

Deli z drugimi prek


HtmlControl.IAttributeAccessor.SetAttribute(String, String) Method

Definition

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

Parameters

name
String

The name of the attribute to set.

value
String

The value to set the attribute to.

Implements

Remarks

The IAttributeAccessor.SetAttribute method calls the SetAttribute method.

This member is an explicit interface member implementation. It can be used only when the HtmlControl instance is cast to an IAttributeAccessor interface.

Applies to

See also