ScriptManager.LoadPostData(String, NameValueCollection) 方法

定义

读取从浏览器发送到服务器的表单数据,并确定异步回发的源。

protected:
 virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected virtual bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Overridable Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean

参数

postDataKey
String

控件的主要标识符。

postCollection
NameValueCollection

所有传入的后期数据的集合。

返回

如果 ScriptManager 控件的状态已因回发而更改,则为 true;否则为 false

注解

方法 LoadPostData 主要由控件开发人员用来扩展控件的功能 ScriptManager

适用于

另请参阅