Editar

Compartilhar via


CheckBox.LoadPostData(String, NameValueCollection) Method

Definition

Processes the postback data for the CheckBox 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 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

See also