BitmapEffect.Clone 方法


建立這個 BitmapEffect 的可修改複製品,深層複製這個物件的值。Creates a modifiable clone of this BitmapEffect, making deep copies of this object's values. 當複製相依性屬性時,這個方法會複製資源參考和資料繫結 (但可能已不能再解析),但不會複製動畫或其目前的值。When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.

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


目前物件的可修改複本。A modifiable clone of the current object. 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性將仍為 true.The 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.CloneFor more information, see Freezable.Clone.