语言

PageAdapter.DeterminePostBackMode 方法

定义

确定网页是否处于回发状态,并返回回发变量的名称/值集合。

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

返回

NameValueCollection回发变量(如果有);否则null为 。

注解

该方法 DeterminePostBackMode 返回以下集合之一:

  • 如果 HTTP 数据传输方法为 POST,则形成变量。

  • 如果 HTTP 方法为 GET.,则查询字符串变量。

继承者说明

从 PageAdapter 类继承时,可以重写 DeterminePostBackMode() 该方法以提供回发变量集合的目标特定处理。

适用于

另请参阅