TextBox.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for the TextBox control.

protected virtual bool LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);

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

Produto Versões
.NET Framework 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

See also