DeviceSpecificChoice.GetAttribute(String) Metodo

Definizione

Restituisce l'attributo specificato dall'oggetto DeviceSpecificChoice. 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 ^ key);
protected string GetAttribute (string key);
member this.GetAttribute : string -> string
Protected Function GetAttribute (key As String) As String

Parametri

key
String

Nome dell'attributo da ottenere.

Restituisce

Oggetto String che contiene il valore dell'attributo specificato.

Eccezioni

Nessun attributo nell'oggetto identificato da key.

Si applica a

Vedi anche