语言

DeviceSpecificChoice.GetAttribute(String) 方法

定义

从 DeviceSpecificChoice 对象返回指定的属性。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅具有 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 包含指定特性的值。

例外

对象中不存在由 key该属性标识的属性。

适用于

另请参阅