Modifica

Condividi tramite


FreezableCollection<T>.CloneCurrentValue Method

Definition

Creates a modifiable copy of this FreezableCollection<T> and its contents, making deep copies of this object's current values. If this object (or the objects it contains) contains animated dependency properties, their current animated values are copied.

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)

Returns

A modifiable clone of the collection and its contents. The cloned object's IsFrozen property will be false even if the source's IsFrozen property was true.

Remarks

This method shadows the inherited Freezable.CloneCurrentValue method with a strongly typed implementation for convenience.

Applies to

See also