Επεξεργασία

Κοινή χρήση μέσω


TextBox.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for the TextBox control.

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

Parameters

postDataKey
String

The index within the posted collection that references the content to load.

postCollection
NameValueCollection

The collection posted to the server.

Returns

true if the posted content is different from the last posting; otherwise, false.

Remarks

The LoadPostData method checks whether the postback data of the TextBox control is different from its previous value and, if so, loads the content and returns true.

Applies to

See also