Bahasa

HtmlInputCheckBox.LoadPostData(String, NameValueCollection) Metode

Definisi

Memproses data postback untuk HtmlInputCheckBox kontrol.

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

Parameter

postDataKey
String

Pengidentifikasi kunci untuk kontrol.

postCollection
NameValueCollection

Kumpulan semua nilai nama masuk.

Mengembalikan

true jika status HtmlInputCheckBox kontrol telah berubah sebagai akibat dari peristiwa postback; jika tidak, false.

Keterangan

Metode ini terutama menarik bagi pengembang kontrol kustom yang memperluas fungsionalitas HtmlInputCheckBox kontrol.

Berlaku untuk