HtmlInputText.LoadPostData(String, NameValueCollection) Metod

Definition

Bearbetar postback-data för HtmlInputText kontrollen.

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

Parametrar

postDataKey
String

Nyckelidentifieraren för kontrollen.

postCollection
NameValueCollection

Samlingen med alla inkommande namnvärden.

Returer

true HtmlInputText om kontrollens tillstånd har ändrats till följd av återanropet, falseannars .

Kommentarer

Metoden LoadPostData kontrollerar om postback-värdet för HtmlInputText kontrollen skiljer sig från dess tidigare värde och returnerar truei så fall .

Metoden LoadPostData används främst av kontrollutvecklare som utökar kontrollens HtmlInputText funktioner.

Gäller för