語言

DeviceSpecificChoice.GetAttribute(String) 方法

定義

從物件中回傳指定的屬性 DeviceSpecificChoice 。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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

參數

key
String

屬性名稱。

傳回

String A 包含指定屬性的值。

例外狀況

由 識別 key的物件中沒有屬性。

適用於

另請參閱