HtmlControl.IAttributeAccessor.GetAttribute(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.
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);
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 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.