HtmlControl.IAttributeAccessor.GetAttribute(String) HtmlControl.IAttributeAccessor.GetAttribute(String) HtmlControl.IAttributeAccessor.GetAttribute(String) Method

Definition

For a description of this member, see GetAttribute(String).

 virtual System::String ^ System.Web.UI.IAttributeAccessor.GetAttribute(System::String ^ name) = System::Web::UI::IAttributeAccessor::GetAttribute;
string IAttributeAccessor.GetAttribute (string name);
Function GetAttribute (name As String) As String Implements IAttributeAccessor.GetAttribute

Parameters

name
String String String

The attribute name.

Returns

The value of this attribute on the element, as a String value. If the specified attribute does not exist on this element, returns an empty string ("").

Implements

Remarks

The IAttributeAccessor.GetAttribute method calls the GetAttribute method.

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

Applies to

See also