PageAdapter.DeterminePostBackMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the Web page is in postback and returns a name/value collection of the postback variables.
public:
virtual System::Collections::Specialized::NameValueCollection ^ DeterminePostBackMode();
public virtual System.Collections.Specialized.NameValueCollection DeterminePostBackMode ();
abstract member DeterminePostBackMode : unit -> System.Collections.Specialized.NameValueCollection
override this.DeterminePostBackMode : unit -> System.Collections.Specialized.NameValueCollection
Public Overridable Function DeterminePostBackMode () As NameValueCollection
Returns
A NameValueCollection of the postback variables, if any; otherwise null
.
Remarks
The DeterminePostBackMode method returns one of the following collections:
Form variables if the HTTP data transfer method is
POST
.Query string variables if the HTTP method is
GET
.
Notes to Inheritors
When you inherit from the PageAdapter class, you can override the DeterminePostBackMode() method to provide target-specific handling of the postback variables collection.
Applies to
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk