Editar

Compartir a través de


ListControl.PerformDataBinding(IEnumerable) Method

Definition

Binds the specified data source to the control that is derived from the ListControl class.

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

Parameters

dataSource
IEnumerable

An IEnumerable that represents the data source.

Exceptions

The cached value of SelectedIndex is out of range.

The cached values of SelectedIndex and SelectedValue do not match.

Remarks

The PerformDataBinding method is a helper method that is called by the control that is derived from the ListControl class to bind the specified data source to the control.

Applies to

See also