語言

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)

傳回

本收藏及其內容的可修改副本。 該副本的 IsFrozen 值為 false。

備註

此方法以強型別實作取代繼 Animatable.Clone 承方法,方便使用。

適用於

另請參閱