Int32Collection.CloneCurrentValue Int32Collection.CloneCurrentValue Int32Collection.CloneCurrentValue Int32Collection.CloneCurrentValue Method


创建此 Int32Collection 对象的可修改复本,从而深度复制此对象的当前值。Creates a modifiable clone of this Int32Collection object, making deep copies of this object's current values. 不复制资源引用、数据绑定和动画,而是复制其当前值。Resource references, data bindings, and animations are not copied, but their current values are.

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


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