MobileControl.GetAttribute(String) Metodo

Definizione

Recupera dal controllo la proprietà dell'attributo specificato. Questa API è obsoleta. Per informazioni su come sviluppare applicazioni ASP.NET per dispositivi mobili, vedere App per dispositivi mobili & Siti con ASP.NET.

protected:
 System::String ^ GetAttribute(System::String ^ name);
protected string GetAttribute (string name);
member this.GetAttribute : string -> string
Protected Function GetAttribute (name As String) As String

Parametri

name
String

Oggetto String che specifica il nome dell'attributo del controllo server.

Restituisce

Oggetto String che rappresenta il valore dell'attributo specificato. Se non esiste un attributo con il nome specificato nel parametro name, verrà restituito null.

Commenti

Il GetAttribute metodo restituisce gli attributi archiviati nella CustomAttributes proprietà . Se CustomAttributes è null, GetAttribute restituirà nullanche .

Si applica a

Vedi anche