WmlSelectionListAdapter.LoadPostData(String, NameValueCollection, Object, Boolean) 方法

定义

如果适配器处理 post 数据的加载,则返回 trueReturns true if the adapter handles loading the post data. 此 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.

public:
 override bool LoadPostData(System::String ^ key, System::Collections::Specialized::NameValueCollection ^ data, System::Object ^ controlPrivateData, [Runtime::InteropServices::Out] bool % dataChanged);
public override bool LoadPostData (string key, System.Collections.Specialized.NameValueCollection data, object controlPrivateData, out bool dataChanged);
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection * obj * bool -> bool
Public Overrides Function LoadPostData (key As String, data As NameValueCollection, controlPrivateData As Object, ByRef dataChanged As Boolean) As Boolean

参数

key
String

标识控件。Identifies the control.

data
NameValueCollection

包含所有传入名称值的集合。Contains the collection of all incoming name values.

controlPrivateData
Object

提供一个位置,以便发送控件专用的数据,加载 post 数据时可能必须要用到该控件。Provides a place to send data private to the control that might be required for loading of post data. 该控件确定传递到参数的类型。The control determines the type that is passed to the parameter.

dataChanged
Boolean

如果 privateControlData 中所需的对象发生了更改,则返回 true,因此可能引发 RaisePostDataChangedEvent() 事件。Returns true if the required the object in privateControlData was changed, so the RaisePostDataChangedEvent() event can be raised.

返回

Boolean

如果适配器处理 post 数据的加载,则为 true;否则为 falsetrue if the adapter handles loading the post data; otherwise, false.

适用于

另请参阅