ResourceDictionary.EndInit 方法

定義

結束初始化階段,然後使前一樹狀結構失效,以便可說明初始化階段期間對索引鍵進行的所有變更。Ends the initialization phase, and invalidates the previous tree such that all changes made to keys during the initialization phase can be accounted for.

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

實作

備註

BeginInitEndInit 遵循交易模型。BeginInit and EndInit follow a transaction model. BeginInit 標記未初始化的字典,並將 EndInit 其標示為已初始化。BeginInit marks the dictionary uninitialized and EndInit marks it initialized.

適用於