Bewerken

Delen via


DeviceSpecificChoice.IAttributeAccessor.SetAttribute(String, String) Method

Definition

For a description of this member, see SetAttribute(String, String). This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

This API supports the product infrastructure and is not intended to be used directly from your code.

 virtual void System.Web.UI.IAttributeAccessor.SetAttribute(System::String ^ key, System::String ^ value) = System::Web::UI::IAttributeAccessor::SetAttribute;
 virtual void System.Web.UI.IAttributeAccessor.SetAttribute(System::String ^ name, System::String ^ value) = System::Web::UI::IAttributeAccessor::SetAttribute;
void IAttributeAccessor.SetAttribute (string key, string value);
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
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
Sub SetAttribute (name As String, value As String) Implements IAttributeAccessor.SetAttribute

Parameters

keyname
String

The name of the attribute to be set.

value
String

The value assigned to the attribute.

Implements

Remarks

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

Applies to

See also