FreezableCollection<T>.Clone 方法

定義

建立這個 FreezableCollection<T> 和其內容的可修改複本,來製作深層複本。 如果這個集合 (或其內容) 具有動畫相依性屬性,則會複製屬性的基底值,但不會複製目前的動畫值。

public:
 System::Windows::FreezableCollection<T> ^ Clone();
public System.Windows.FreezableCollection<T> Clone ();
override this.Clone : unit -> System.Windows.FreezableCollection<'T (requires 'T :> System.Windows.DependencyObject)>
Public Function Clone () As FreezableCollection(Of T)

傳回

FreezableCollection<T>

這個集合和其內容的可修改複本。 複本的 IsFrozen 值為 false

備註

這個方法會以強型別實作來遮蔽繼承 Animatable.Clone 的方法,方便使用。

適用於

另請參閱