編輯

共用方式為


UpdatePanel.IAttributeAccessor.SetAttribute(String, String) Method

Definition

Sets the value of the specified control attribute.

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

Parameters

key
String

The name of the attribute to set.

value
String

The value of the attribute to set.

Implements

Remarks

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

Applies to