語言

Timeline.CloneCurrentValue 方法

定義

建立可 Timeline 修改的物件克隆,並製作該物件當前值的深度複製。

public:
 System::Windows::Media::Animation::Timeline ^ CloneCurrentValue();
public System.Windows.Media.Animation.Timeline CloneCurrentValue();
override this.CloneCurrentValue : unit -> System.Windows.Media.Animation.Timeline
Public Function CloneCurrentValue () As Timeline

傳回

一個可修改的當前物件複製品。 複製物件的 IsFrozen 屬性為 false 偶,若來源 IsFrozen 物件的屬性為 true。

備註

此方法用於產生可修改的 Freezable 凍結物件(或任何 Freezable 物件)複製品。 為了方便起見,此方法以強型別實作來遮蔽繼承版本。

如需詳細資訊,請參閱Freezable.CloneCurrentValue。

資源參考、資料綁定和動畫不會被複製,但它們的當前值會被複製。

適用於