DropDownList.LoadPostData(String, NameValueCollection) Método
Definição
Processa dados de postback para o controle DropDownList.Processes postback data for the DropDownList control.
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
Parâmetros
- postDataKey
- String
O índice na coleção postada que faz referência ao conteúdo a ser carregado.The index within the posted collection that references the content to load.
- postCollection
- NameValueCollection
A coleção de todos os valores de nome de entrada postados no servidor.The collection of all incoming name values posted to the server.
Retornos
true se o estado do controle DropDownList mudar como resultado do evento de postback; caso contrário, false.true if the DropDownList control's state changes as a result of the postback event; otherwise, false.
Comentários
A estrutura da página ASP.NET rastreia todos os controles de servidor que retornam true dessa chamada de método e, em seguida, invoca o RaisePostDataChangedEvent método no DropDownList controle.The ASP.NET page framework tracks all the server controls that return true from this method call, and then invokes the RaisePostDataChangedEvent method on the DropDownList control.