BitmapEffect.CloneCurrentValue BitmapEffect.CloneCurrentValue BitmapEffect.CloneCurrentValue BitmapEffect.CloneCurrentValue Method

定義

建立這個 BitmapEffect 物件的可修改複製品,製作這個物件目前值的深層複本。Creates a modifiable clone of this BitmapEffect object, making deep copies of this object's current values. 不會複製資源參考、資料繫結和動畫,但是會複製其目前值。Resource references, data bindings, and animations are not copied, but their current values are.

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

傳回

目前物件的可修改複本。A modifiable clone of the current object. 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性將仍為 trueThe cloned object's IsFrozen property will be false even if the source's IsFrozen property was true.

備註

這個方法是用來產生凍結Freezable物件 (或任何Freezable物件) 的可修改複本。This method is used to produce modifiable copies of frozen Freezable objects (or any Freezable object). 為了方便起見, 這個方法會遮蔽繼承的版本。For convenience, this method shadows the inherited version.

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

適用於