ListView.PerformDataBinding(IEnumerable) Método

Definição

Associa o controle de ListView à fonte de dados especificada.Binds the ListView control to the specified data source.

protected public:
 override void PerformDataBinding(System::Collections::IEnumerable ^ data);
protected internal override void PerformDataBinding (System.Collections.IEnumerable data);
override this.PerformDataBinding : System.Collections.IEnumerable -> unit
Protected Friend Overrides Sub PerformDataBinding (data As IEnumerable)

Parâmetros

data
IEnumerable

Um objeto que implementa a interface IEnumerable e que contém os dados.An object that implements the IEnumerable interface and that contains the data.

Comentários

O PerformDataBinding método é um método auxiliar que é chamado pelo ListView controle para associar o controle à fonte de dados especificada.The PerformDataBinding method is a helper method that is called by the ListView control to bind the control to the specified data source.

Notas aos Herdeiros

Como o DataBind() método é lacrado, você deve substituir o PerformDataBinding(IEnumerable) método se desejar executar tarefas adicionais ao associar dados.Because the DataBind() method is sealed, you must override the PerformDataBinding(IEnumerable) method if you want to perform any additional tasks when binding data.

Aplica-se a

Confira também