HtmlPageAdapter.DeterminePostBackMode Metode

Definisi

Dipanggil untuk menentukan pengumpulan data postback. API ini kedaluarsa. Untuk informasi tentang cara mengembangkan aplikasi seluler ASP.NET, lihat aplikasi Mobile & Situs dengan ASP.NET.

public:
 virtual System::Collections::Specialized::NameValueCollection ^ DeterminePostBackMode(System::Web::HttpRequest ^ request, System::String ^ postEventSourceID, System::String ^ postEventArgumentID, System::Collections::Specialized::NameValueCollection ^ baseCollection);
public virtual System.Collections.Specialized.NameValueCollection DeterminePostBackMode(System.Web.HttpRequest request, string postEventSourceID, string postEventArgumentID, System.Collections.Specialized.NameValueCollection baseCollection);
abstract member DeterminePostBackMode : System.Web.HttpRequest * string * string * System.Collections.Specialized.NameValueCollection -> System.Collections.Specialized.NameValueCollection
override this.DeterminePostBackMode : System.Web.HttpRequest * string * string * System.Collections.Specialized.NameValueCollection -> System.Collections.Specialized.NameValueCollection
Public Overridable Function DeterminePostBackMode (request As HttpRequest, postEventSourceID As String, postEventArgumentID As String, baseCollection As NameValueCollection) As NameValueCollection

Parameter

request
HttpRequest

Objek HttpRequest yang berisi informasi permintaan, seperti header HTTP.

postEventSourceID
String

Pengidentifikasi sumber untuk peristiwa tersebut.

postEventArgumentID
String

Pengidentifikasi argumen untuk peristiwa tersebut.

baseCollection
NameValueCollection

Kumpulan data postback dari objek permintaan.

Mengembalikan

Versi parameter yang dimodifikasi baseCollection .

Penerapan

Keterangan

Karena beberapa perangkat menangani postback secara berbeda dari yang lain, metode ini memungkinkan adaptor untuk memodifikasi koleksi.

Implementasi HtmlPageAdapter dan WmlPageAdapter metode ini mengumpulkan data kontrol jika postingan berasal dari halaman yang berbeda.

Implementasi melakukan ChtmlPageAdapter penanganan data postback khusus CHTML.

Berlaku untuk

Lihat juga