ISupportInitializeNotification 介面

定義

允許協調元件及其相依屬性的初始化。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

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

方法

BeginInit()

發出初始化正在啟動之物件的訊號。Signals the object that initialization is starting.

(繼承來源 ISupportInitialize)
EndInit()

發出初始化完成之物件的訊號。Signals the object that initialization is complete.

(繼承來源 ISupportInitialize)

事件

Initialized

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

適用於