DeviceSpecificChoice.GetAttribute(String) メソッド

定義

DeviceSpecificChoice オブジェクトから指定した属性を返します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「ASP.NET を使用した Mobile Apps & サイト」を参照してください。

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 で識別されたオブジェクトに属性がありません。

適用対象

こちらもご覧ください