TextBox.LoadPostData(String, NameValueCollection) Método

Definição

Processa os dados de postback para o controle TextBox.Processes the postback data for the TextBox 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 postada no servidor.The collection posted to the server.

Retornos

Boolean

true se o conteúdo publicado for diferente da última publicação; caso contrário, false.true if the posted content is different from the last posting; otherwise, false.

Comentários

O LoadPostData método verifica se os dados de postback do TextBox controle são diferentes de seu valor anterior e, em caso afirmativo, carrega o conteúdo e retorna true .The LoadPostData method checks whether the postback data of the TextBox control is different from its previous value and, if so, loads the content and returns true.

Aplica-se a

Confira também