HtmlInputCheckBox.LoadPostData(String, NameValueCollection) 方法

定義

處理控制的 HtmlInputCheckBox 回傳資料。

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

收集所有輸入的名稱值。

傳回

true如果HtmlInputCheckBox控制組狀態因回傳事件而改變;否則, false

備註

此方法主要吸引自訂控制開發者,以擴充控制功能 HtmlInputCheckBox

適用於