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 A 包含貼文資訊。

傳回

所有案件的退貨 false

備註

LoadPostData該成員主要由控制開發者在從ImageButton控制項衍生出自訂類別時使用。

ImageButton檢查是否發布了 x 和 y 值,表示該圖片是使用者點擊的。 接著,在事件處理階段,會 ImageButton 向頁面註冊想要提出事件。

適用於

另請參閱