BitmapImage.CloneCurrentValue 方法

定义

创建此 BitmapImage 对象的可修改复本,从而深度复制此对象的当前值。 不复制资源引用、数据绑定和动画,而是复制其当前值。

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

返回

当前对象的可修改复本。 即使源的 IsFrozen 属性为 false,所克隆对象的 IsFrozen 属性也为 true

注解

此方法用于生成冻结 Freezable 对象 (或任何 Freezable 对象) 的可修改副本。 为方便起见,此方法隐藏继承的版本。

有关详细信息,请参阅 Freezable.CloneCurrentValue

适用于

另请参阅