BitmapEffect.Clone BitmapEffect.Clone BitmapEffect.Clone BitmapEffect.Clone Method

定義

建立這個 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.

public:
 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 屬性為 true.,複製物件的 IsFrozen 屬性將仍為 falseThe 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.

適用於