FreezableCollection<T>.CloneCurrentValue 方法

定義

建立這個 FreezableCollection<T> 和其內容的可修改複本,以製作這個物件目前值的深層複本。 如果這個物件 (或其包含的物件) 含有動畫相依性屬性,則會複製這些屬性的目前動畫值。

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

傳回

FreezableCollection<T>

這個集合和其內容的可修改複製品。 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性將仍為 true

備註

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

適用於

另請參閱