Transform.CloneCurrentValue 方法


藉由製作這個 Transform 物件值的深層複本,來建立它的可修改複製品。Creates a modifiable clone of this Transform object by making deep copies of its values. 這個方法不會複製資源參考、資料繫結或動畫,但是會複製其目前值。This method does not copy resource references, data bindings, or animations, although it does copy their current values.

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


目前物件的可修改深層複本。A modifiable deep copy of the current object. 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性仍為 trueThe IsFrozen property of the cloned object is false even if the IsFrozen property of the source is true.


使用此方法來產生唯讀Freezable物件的可修改複本。Use this method to produce modifiable copies of read-only Freezable objects. 為了方便起見,這個方法會以強型別實作為繼承版本的陰影。For convenience, this method shadows the inherited version with a strongly typed implementation.

如需詳細資訊,請參閱Freezable.CloneCurrentValueFor more information, see Freezable.CloneCurrentValue.