DrawingGroup.CloneCurrentValue 方法

定義

建立這個 DrawingGroup 物件的可修改深層複本,並製作這個物件目前值的深層複本。

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

傳回

DrawingGroup

目前物件的可修改複本。 即使來源的 IsFrozen 屬性為 false,複製物件的 IsFrozen 屬性仍為 true

備註

使用此方法可產生唯讀物件的可修改複本 Freezable 。 為了方便起見,這個方法會以強型別實作遮蔽繼承的版本。

這個方法不會複製資源參考、資料繫結和動畫,但是會複製其目前值。

如需詳細資訊,請參閱Freezable.CloneCurrentValue

適用於