Redigera

Dela via


WmlPageAdapter.DeterminePostBackMode Method

Definition

Called to determine the postback data collection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with 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

Parameters

request
HttpRequest

An HttpRequest object that contains request information, such as HTTP headers.

postEventSourceID
String

Source identifier for the event.

postEventArgumentID
String

Argument identifier for the event.

baseCollection
NameValueCollection

Collection of postback data from the request object.

Returns

The modified postback data collection.

Implements

Remarks

Because some devices handle postback differently from others, this method allows the adapter to modify the collection.

The HtmlPageAdapter and WmlPageAdapter implementations of this method gather control data if the post originated from a different page.

The ChtmlPageAdapter implementation performs CHTML-specific handling of postback data.

Applies to

See also