ImageButton::IPostBackDataHandler::LoadPostData Method (String^, NameValueCollection^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

For a description of this member, see IPostBackDataHandler::LoadPostData.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

private:
virtual bool LoadPostData(
	String^ postDataKey,
	NameValueCollection^ postCollection
) sealed = IPostBackDataHandler::LoadPostData

Parameters

postDataKey
Type: System::String^

The key identifier for the control, used to index the postCollection.

postCollection
Type: System.Collections.Specialized::NameValueCollection^

A System.Collections.Specialized::NameValueCollection collection that contains value information indexed by control identifiers.

Return Value

Type: System::Boolean

true if the server control's state changes as a result of the postback; otherwise, false.

The IPostBackDataHandler::LoadPostData method is an explicit interface member implementation. It can be used only when the ImageButton instance is cast to an IPostBackDataHandler interface.

.NET Framework
Available since 1.1
Return to top
Show: