ListControl.PerformDataBinding(IEnumerable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.