BindingSource.ResetCurrentItem 方法

定義

使得繫結至 BindingSource 的控制項重新讀取目前選取的項目,並重新整理其顯示的值。Causes a control bound to the BindingSource to reread the currently selected item and refresh its displayed value.

public:
 void ResetCurrentItem();
public void ResetCurrentItem ();
member this.ResetCurrentItem : unit -> unit
Public Sub ResetCurrentItem ()

備註

呼叫這個方法會導致 ListChanged 事件發生,並指定在目前位置變更的專案。Calling this method will cause the ListChanged event to occur, specifying the item changed at the current position.

適用於