ListControl.PerformDataBinding(IEnumerable) 方法

定義

將指定的資料來源繫結至衍生自 ListControl 類別的控制項。

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)

參數

dataSource
IEnumerable

IEnumerable,代表資料來源。

例外狀況

SelectedIndex 的快取值超出範圍。

SelectedIndexSelectedValue 的快取值不相符。

備註

方法是 PerformDataBinding 協助程式方法,由衍生自 類別的 ListControl 控制項呼叫,以將指定的資料來源系結至 控制項。

適用於

另請參閱