CheckBox.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for the CheckBox control.

C#
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 is used primarily by control developers.

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

Applies to

Tuote Versiot
.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