ScriptManager.LoadPostData(String, NameValueCollection) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
读取从浏览器发布到服务器的表单数据,并确定异步回发的源。
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
所有传入的帖子数据的集合。
返回
true
ScriptManager如果控件的状态因回发而更改,则为 ;否则为 false。
注解
该方法 LoadPostData 主要由控件开发人员用来扩展控件的功能 ScriptManager 。