MobileControl.GetAttribute(String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コントロールから指定した属性のプロパティを取得します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。
protected:
System::String ^ GetAttribute(System::String ^ name);
protected string GetAttribute(string name);
member this.GetAttribute : string -> string
Protected Function GetAttribute (name As String) As String
パラメーター
戻り値
指定した属性の値を表す String。指定した name
を持つ属性が存在しない場合は null
。
注釈
メソッドは GetAttribute 、 プロパティに格納されている属性を CustomAttributes 返します。 が の場合CustomAttributesは、 GetAttribute も返されますnull
。null