WmlPageAdapter.DeterminePostBackMode 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
调用以确定回发数据收集。 此 API 已过时。 有关如何开发 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 的处理。