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

 

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

Namespace:   System.Web.UI.HtmlControls
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.

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

The collection of all incoming name values.

Return Value

Type: System::Boolean

true if the HtmlSelect control's state has changed as a result of a postback; otherwise, false.

Exception Condition
ArgumentOutOfRangeException

The SelectedIndex property was set to a value greater than the number of items in the HtmlSelect control or less than -1.

This member is an explicit interface member implementation. It can be used only when the HtmlSelect instance is cast to an IPostBackDataHandler interface.

.NET Framework
Available since 1.1
Return to top
Show: