Model3DCollection.CloneCurrentValue 方法


建立這個 Model3DCollection 物件的可修改複製品,製作這個物件目前值的深層複本。Creates a modifiable clone of this Model3DCollection 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::Media3D::Model3DCollection ^ CloneCurrentValue();
public System.Windows.Media.Media3D.Model3DCollection CloneCurrentValue ();
override this.CloneCurrentValue : unit -> System.Windows.Media.Media3D.Model3DCollection
Public Function CloneCurrentValue () As Model3DCollection


目前物件的可修改複本。A modifiable clone of the current object. 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性將仍為 trueThe 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.