ListItem.IAttributeAccessor.GetAttribute(String) Metod

Definition

Returnerar attributvärdet för listobjektkontrollen med det angivna attributnamnet.

 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

Parametrar

name
String

Namnkomponenten för ett attributs namn/värde-par.

Returer

Värdet för det angivna attributet.

Implementeringar

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen ListItem skickas till ett IAttributeAccessor gränssnitt.

Gäller för

Se även