Share via


HtmlControl.IAttributeAccessor.GetAttribute(String) Metoda

Definice

Popis tohoto člena najdete 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 v elementu jako String hodnota. Pokud zadaný atribut pro tento element neexistuje, vrátí prázdný řetězec ("").

Implementuje

Poznámky

Metoda IAttributeAccessor.GetAttribute volá metodu GetAttribute .

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

Platí pro

Viz také