ListItem.IAttributeAccessor.SetAttribute(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- SetAttribute(String, String)
- ListControl
- RadioButtonList
- ListBox
- DropDownList
- CheckBoxList
- ListBox Web Server Control Overview
- RadioButton and RadioButtonList Web Server Controls Overview
- CheckBox and CheckBoxList Web Server Controls Overview
- BulletedList Web Server Control Overview
- DropDownList Web Server Control Overview
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.