IControlAdapter.LoadPostData Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if the adapter handles loading the post data. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
public:
bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection, System::Object ^ controlPrivateData, [Runtime::InteropServices::Out] bool % dataChanged);
public bool LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection, object controlPrivateData, out bool dataChanged);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection * obj * bool -> bool
Public Function LoadPostData (postDataKey As String, postCollection As NameValueCollection, controlPrivateData As Object, ByRef dataChanged As Boolean) As Boolean
- postDataKey
- String
Identifies the control.
- postCollection
- NameValueCollection
Contains the collection of all incoming name values.
- controlPrivateData
- Object
Provides a place to send private data 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
Returns true
if the required the object in privateControlData
was changed, so the RaisePostDataChangedEvent() event can be raised.
true
if the adapter handles loading the post data; otherwise, false
.
This method is called when a control that implements the IPostBackDataHandler interface has its own LoadPostData method invoked.
Obs!
Different devices might provide their data back to the calling server in different ways. An example is the difference between how WML and HTML report back the results of a SelectionList.
Produkt | Versjoner |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: