Share via


WmlPageAdapter.DeterminePostBackMode 方法

定義

呼叫以判斷回傳資料集合。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 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

參數

request
HttpRequest

包含要求資訊的 HttpRequest 物件,例如 HTTP 標頭。

postEventSourceID
String

事件的來源識別項。

postEventArgumentID
String

事件的引數識別項。

baseCollection
NameValueCollection

來自要求物件的回傳資料集合。

傳回

修改後的回傳資料集合。

實作

備註

因為有些裝置處理回傳的方式與其他裝置不同,所以這個方法可讓配接器修改集合。

HtmlPageAdapter如果文章源自不同的頁面,這個方法的 和 WmlPageAdapter 實作會收集控制數據。

實作 ChtmlPageAdapter 會執行回傳數據的 CHTML 特定處理。

適用於

另請參閱