FreezableCollection<T>.CloneCurrentValueCore(Freezable) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用目前的屬性值,將這個執行個體設為所指定 FreezableCollection<T> 的可修改複製品 (深層複本)。
protected:
override void CloneCurrentValueCore(System::Windows::Freezable ^ source);
protected override void CloneCurrentValueCore (System.Windows.Freezable source);
override this.CloneCurrentValueCore : System.Windows.Freezable -> unit
Protected Overrides Sub CloneCurrentValueCore (source As Freezable)
參數
- source
- Freezable
要複製的 FreezableCollection<T>。
備註
此方法是由 CloneCurrentValue 方法呼叫,不應直接從程式碼呼叫,除非在覆寫此方法時呼叫基底實作。 若要建立目前 物件的可修改複本,請呼叫 CloneCurrentValue ,而不是直接呼叫這個方法。
給繼承者的注意事項
CloneCurrentValueCore(Freezable)如需何時應覆寫此方法的相關資訊,請參閱頁面。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應