TextBox.LoadPostData(String, NameValueCollection) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
处理控件的 TextBox 回发数据。
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 如果发布的内容与上次发布的内容不同,则为否则,为 false.
注解
该方法 LoadPostData 检查控件的 TextBox 回发数据是否与其以前的值不同,如果是,则加载内容并返回 true。