Share via


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 メソッドを厳密に型指定された実装で影付けし、利便性を高めます。

適用対象

こちらもご覧ください