RectKeyFrameCollection.Clone RectKeyFrameCollection.Clone RectKeyFrameCollection.Clone RectKeyFrameCollection.Clone Method

定义

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

返回

当前对象的可修改复本。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.CloneFor more information, see Freezable.Clone.

适用于