DataTable.EndInit DataTable.EndInit DataTable.EndInit DataTable.EndInit Method

定義

結束對表單或另一個元件所使用的 DataTable 進行初始化作業。Ends the initialization of a DataTable that is used on a form or used by another component. 初始化發生於執行階段。The initialization occurs at run time.

public:
 virtual void EndInit();
public void EndInit ();
abstract member EndInit : unit -> unit
override this.EndInit : unit -> unit
Public Sub EndInit ()

實作

備註

Visual Studio .NET 設計環境會使用這個方法來結束對表單或另一個元件所使用之元件的初始化。The Visual Studio .NET design environment uses this method to end the initialization of a component that is used on a form or used by another component. BeginInit方法會啟動初始化。The BeginInit method starts the initialization. BeginInit使用和EndInit方法可防止控制項在完全初始化之前使用。Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized.

適用於

另請參閱