HtmlInputCheckBox.IPostBackDataHandler.LoadPostData(String, NameValueCollection) 方法
定义
通过调用 LoadPostData(String, NameValueCollection) 方法实现 LoadPostData(String, NameValueCollection) 方法。Implements the LoadPostData(String, NameValueCollection) method by calling the LoadPostData(String, NameValueCollection) method.
virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection) = System::Web::UI::IPostBackDataHandler::LoadPostData;
bool IPostBackDataHandler.LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean Implements IPostBackDataHandler.LoadPostData
参数
- postDataKey
- String
控件的主要标识符。The key identifier for the control.
- postCollection
- NameValueCollection
所有传入名称值的集合。The collection of all incoming name values.
返回
如果 HtmlInputCheckBox 控件的状态已因回发而更改,则为 true;否则为 false。true if the HtmlInputCheckBox control's state has changed as a result of the postback; otherwise, false.