Page.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.
Returns a NameValueCollection of data posted back to the page using either a POST or a GET command.
protected:
virtual System::Collections::Specialized::NameValueCollection ^ DeterminePostBackMode();
protected public:
virtual System::Collections::Specialized::NameValueCollection ^ DeterminePostBackMode();
protected virtual System.Collections.Specialized.NameValueCollection DeterminePostBackMode ();
protected internal virtual System.Collections.Specialized.NameValueCollection DeterminePostBackMode ();
abstract member DeterminePostBackMode : unit -> System.Collections.Specialized.NameValueCollection
override this.DeterminePostBackMode : unit -> System.Collections.Specialized.NameValueCollection
Protected Overridable Function DeterminePostBackMode () As NameValueCollection
Protected Friend Overridable Function DeterminePostBackMode () As NameValueCollection
Returns
A NameValueCollection object that contains the form data. If the postback used the POST command, the form information is returned from the Context object. If the postback used the GET command, the query string information is returned. If the page is being requested for the first time, null
is returned.
Remarks
The DeterminePostBackMode method returns a NameValueCollection object that contains the data posted back to the page. The presence of the page hidden fields VIEWSTATE and EVENTTARGET is used to help determine whether a postback event has occurred. The IsPostBack property is set when the DeterminePostBackMode method is called.
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