DataSet.EndInit 方法

定义

结束在窗体上使用或由另一个组件使用的 DataSet 的初始化。Ends the initialization of a DataSet 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. 使用 BeginInitEndInit 方法可防止控件在完全初始化之前被使用。Using the BeginInit and EndInit methods prevents the control from being used before it is fully initialized.

适用于

另请参阅