MobileControl.SetAttribute(String, String) メソッド

定義

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

protected:
 void SetAttribute(System::String ^ name, System::String ^ value);
protected void SetAttribute (string name, string value);
member this.SetAttribute : string * string -> unit
Protected Sub SetAttribute (name As String, value As String)

パラメーター

name
String

設定する属性のキーを示す String

value
String

属性の値として割り当てられる String

注釈

メソッドの呼び出しによって設定された SetAttribute 属性は、 プロパティに CustomAttributes 格納されます。

適用対象

こちらもご覧ください