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

定義

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

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 プロパティに格納されます。

適用対象

こちらもご覧ください