DropDownList.LoadPostData(String, NameValueCollection) Yöntem

Tanım

Denetim için DropDownList geri gönderme verilerini işler.

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

Parametreler

postDataKey
String

Yüklenecek içeriğe başvuran, gönderilen koleksiyondaki dizin.

postCollection
NameValueCollection

Sunucuya gönderilen tüm gelen ad değerlerinin koleksiyonu.

Döndürülenler

true geri gönderme olayının DropDownList sonucu olarak denetimin durumu değişirse; değilse, false.

Açıklamalar

ASP.NET sayfa çerçevesi, bu yöntem çağrısından true döndüren tüm sunucu denetimlerini izler ve ardından RaisePostDataChangedEvent denetiminde DropDownList yöntemini çağırır.

Şunlara uygulanır