DeviceSpecificChoice.GetAttribute(String) Metod

Definition

Returnerar det angivna attributet från DeviceSpecificChoice objektet. Det här API:et är föråldrat. Information om hur du utvecklar ASP.NET mobila program finns i Mobile Apps & Webbplatser med 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

Parametrar

key
String

Namnet på attributet som ska hämtas.

Returer

En String som innehåller värdet för det angivna attributet.

Undantag

Det finns inget attribut i objektet som identifieras av key.

Gäller för

Se även