Edit

Bagikan melalui


PageAdapter.DeterminePostBackMode Method

Definition

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