TextBox.LoadPostData(String, NameValueCollection) Metod

Definition

Bearbetar postback-data för TextBox 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

Indexet i den publicerade samlingen som refererar till innehållet som ska läsas in.

postCollection
NameValueCollection

Samlingen har publicerats på servern.

Returer

trueom det publicerade innehållet skiljer sig från det senaste inlägget; annars . false

Kommentarer

Metoden LoadPostData kontrollerar om postback-data för TextBox kontrollen skiljer sig från dess tidigare värde och läser i så fall in innehållet och returnerar true.

Gäller för

Se även