DropDownList.LoadPostData(String, NameValueCollection) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Memproses data postback untuk DropDownList 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
Indeks dalam koleksi yang diposting yang mereferensikan konten untuk dimuat.
- postCollection
- NameValueCollection
Kumpulan semua nilai nama masuk yang diposting ke server.
Mengembalikan
true jika status DropDownList kontrol berubah sebagai akibat dari peristiwa postback; jika tidak, false.
Keterangan
Kerangka kerja halaman ASP.NET melacak semua kontrol server yang mengembalikan