RepeaterCommandEventArgs.CommandSource プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RepeaterCommandEventArgs.CommandSource プロパティの意味・解説 

RepeaterCommandEventArgs.CommandSource プロパティ

コマンドソース取得します

名前空間: System.Web.UI.WebControls
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As RepeaterCommandEventArgs
Dim value As Object

value = instance.CommandSource
public Object CommandSource { get; }
public:
property Object^ CommandSource {
    Object^ get ();
}
/** @property */
public Object get_CommandSource ()

プロパティ
コマンドソース

解説解説
使用例使用例

CommandSource プロパティ使用してコマンドソース確認する方法の例を次に示します

Sub R1_ItemCommand(Sender As Object,
 e As RepeaterCommandEventArgs)
    Label2.Text = "The " & CType(e.CommandSource,
 Button).Text & _
       " button has just been clicked; <br>"
End Sub

void R1_ItemCommand(Object Sender, RepeaterCommandEventArgs e)
 {        
    Label2.Text = "The " + ((Button)e.CommandSource).Text + " button
 has just been clicked; <br>";
 }
    
void R1_ItemCommand(Object Sender, RepeaterCommandEventArgs e)
{
    label2.set_Text("The " + ((Button)(e.get_CommandSource())).get_Text()
        + " button has just been clicked; <br>");
} //R1_ItemCommand
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
RepeaterCommandEventArgs クラス
RepeaterCommandEventArgs メンバ
System.Web.UI.WebControls 名前空間
その他の技術情報
Repeater Web サーバー コントロール



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

RepeaterCommandEventArgs.CommandSource プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RepeaterCommandEventArgs.CommandSource プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS