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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om