SelectionList.IPostBackDataHandler.LoadPostData(String, NameValueCollection) 方法

定义

有关此成员的说明,请参见 LoadPostData(String, NameValueCollection)For a description of this member, see LoadPostData(String, NameValueCollection). 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

此 API 支持产品基础结构,不能在代码中直接使用。

 virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection) = System::Web::UI::IPostBackDataHandler::LoadPostData;
 virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ key, System::Collections::Specialized::NameValueCollection ^ data) = System::Web::UI::IPostBackDataHandler::LoadPostData;
bool IPostBackDataHandler.LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
bool IPostBackDataHandler.LoadPostData (string key, System.Collections.Specialized.NameValueCollection data);
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
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
Function LoadPostData (key As String, data As NameValueCollection) As Boolean Implements IPostBackDataHandler.LoadPostData

参数

postDataKeykey
String

标识数据中的相关值的键。The key identifying the relevant value in the data.

postCollectiondata
NameValueCollection

包含发布数据的集合。The collection containing the post data.

返回

Boolean

如果 SelectionList 的状态由于回发而更改,则为 true;否则为 falsetrue if the state of the SelectionList changes as a result of the postback; otherwise, false.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 SelectionList 实例被强制转换为 IPostBackDataHandler 接口时使用。It can be used only when the SelectionList instance is cast to an IPostBackDataHandler interface.

适用于