DropDownList.LoadPostData(String, NameValueCollection) Methode

Definitie

Verwerkt terugpostgegevens voor het DropDownList besturingselement.

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

De index in de geplaatste verzameling die verwijst naar de inhoud die moet worden geladen.

postCollection
NameValueCollection

De verzameling van alle binnenkomende naamwaarden die op de server zijn geplaatst.

Retouren

true als de status van het DropDownList besturingselement verandert als gevolg van de postback-gebeurtenis; falseanders.

Opmerkingen

Het ASP.NET paginaframework houdt alle serverbesturingselementen bij die true retourneren vanuit deze methode-aanroep en roept vervolgens de methode RaisePostDataChangedEvent aan op het besturingselement DropDownList.

Van toepassing op