TextEffectCollection.CloneCurrentValue 方法

定义

创建此 TextEffectCollection 对象的可修改复本,从而深度复制此对象的当前值。Creates a modifiable clone of this TextEffectCollection 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::TextEffectCollection ^ CloneCurrentValue();
public System.Windows.Media.TextEffectCollection CloneCurrentValue ();
override this.CloneCurrentValue : unit -> System.Windows.Media.TextEffectCollection
Public Function CloneCurrentValue () As TextEffectCollection

返回

当前对象的可修改复本。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 with a strongly typed implementation.

有关详细信息,请参阅 Freezable.CloneCurrentValueFor more information, see Freezable.CloneCurrentValue.

适用于