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
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.