ListItem.IAttributeAccessor.GetAttribute(String) Metoda

Definicja

Zwraca wartość atrybutu kontrolki elementu listy o określonej nazwie atrybutu.

 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

Składnik nazwy pary nazwa/wartość atrybutu.

Zwraca

Wartość określonego atrybutu.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ListItem wystąpienie jest rzutowe do interfejsu IAttributeAccessor .

Dotyczy

Zobacz też