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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om