FreezableCollection<T>.CloneCore(Freezable) 方法

定義

使用基底 (非動畫) 屬性值,將這個執行個體變成所指定 FreezableCollection<T> 的複製品 (深層複本)。

protected:
 override void CloneCore(System::Windows::Freezable ^ source);
protected override void CloneCore (System.Windows.Freezable source);
override this.CloneCore : System.Windows.Freezable -> unit
Protected Overrides Sub CloneCore (source As Freezable)

參數

source
Freezable

要複製的 FreezableCollection<T>

備註

此方法是由 Clone 方法呼叫,不應該直接從程式碼呼叫,除非在覆寫此方法時呼叫基底實作。 若要建立目前 物件的可修改複本,請呼叫 Clone 而不是直接呼叫此方法。

給繼承者的注意事項

CloneCore(Freezable)如需何時應該覆寫此方法的相關資訊,請參閱頁面。

適用於

另請參閱