Edit

Share via


ListItem.IAttributeAccessor.GetAttribute(String) Method

Definition

Returns the attribute value of the list item control having the specified attribute name.

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string name);
abstract member System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
override this.System.Web.UI.IAttributeAccessor.GetAttribute : string -> string
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute

Parameters

name
String

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

Returns

The value of the specified attribute.

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