Επεξεργασία

Κοινή χρήση μέσω


ListItem.IAttributeAccessor.SetAttribute(String, String) Method

Definition

Sets an attribute of the list item control with the specified name and value.

 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 component of the attribute's name/value pair.

value
String

The value component of the attribute's name/value pair.

Implements

Remarks

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

Applies to

See also