HtmlControl.IAttributeAccessor.GetAttribute(String) Metoda

Definice

Popis tohoto člena naleznete v tématu 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

Parametry

name
String

Název atributu.

Návraty

Hodnota tohoto atributu prvku jako String hodnota. Pokud zadaný atribut pro tento prvek neexistuje, vrátí prázdný řetězec ("").

Implementuje

Poznámky

Metoda IAttributeAccessor.GetAttribute volá metodu GetAttribute .

Tento člen je explicitní implementace člena rozhraní. Lze jej použít pouze v případě, HtmlControl že je instance přetypována do IAttributeAccessor rozhraní.

Platí pro

Viz také