ISupportInitializeNotification ISupportInitializeNotification ISupportInitializeNotification ISupportInitializeNotification Interface

定義

允許協調元件及其相依屬性的初始化。Allows coordination of initialization for a component and its dependent properties.

public interface class ISupportInitializeNotification : System::ComponentModel::ISupportInitialize
public interface ISupportInitializeNotification : System.ComponentModel.ISupportInitialize
type ISupportInitializeNotification = interface
    interface ISupportInitialize
Public Interface ISupportInitializeNotification
Implements ISupportInitialize
衍生
實作

備註

當您的元件在也會執行ISupportInitializeNotification介面的其他元件上具有初始化相依性時, 您應該執行此介面。You should implement this interface when your component has initialization dependencies on other components that also implement the ISupportInitializeNotification interface. 您可以檢查IsInitialized屬性, 以查看相依元件是否已完成初始化。You can check to see if the dependent components have completed initialization by checking the IsInitialized property.

ISupportInitializeNotificationBindingSourceListControl類型執行。ISupportInitializeNotification is implemented by the BindingSource and ListControl types.

屬性

IsInitialized IsInitialized IsInitialized IsInitialized

取得值,指出是否已初始化元件。Gets a value indicating whether the component is initialized.

事件

Initialized Initialized Initialized Initialized

在完成元件的初始化時發生。Occurs when initialization of the component is completed.

方法

BeginInit() BeginInit() BeginInit() BeginInit()

表示物件正在啟動初始設定。Signals the object that initialization is starting.

(Inherited from ISupportInitialize)
EndInit() EndInit() EndInit() EndInit()

表示物件已完成初始設定。Signals the object that initialization is complete.

(Inherited from ISupportInitialize)

適用於