次の方法で共有


ImageButton.LoadPostData(String, NameValueCollection) メソッド

定義

ImageButton コントロールのポストされたデータを処理します。

protected:
 virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Overridable Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean

パラメーター

postDataKey
String

コレクション内のエントリのインデックス指定に使用するキー値。

postCollection
NameValueCollection

ポスト情報を格納する NameValueCollection

戻り値

Boolean

常に false を返します。

注釈

この LoadPostData メンバーは、コントロールから ImageButton カスタム クラスを派生させる際に、主にコントロール開発者によって使用されます。

ImageButton x と y の値が投稿されたかどうかを確認します。これは、画像がユーザーによってクリックされたことを示します。 次に ImageButton 、イベント処理フェーズ中にイベントを発生させるページに登録します。

適用対象

こちらもご覧ください