BitmapSource.GetCurrentValueAsFrozenCore(Freezable) 方法

定義

使這個執行個體成為所指定 BitmapSource 的凍結複製品。Makes this instance a frozen clone of the specified BitmapSource. 不會複製資源參考、資料繫結和動畫,但是會複製其目前值。Resource references, data bindings, and animations are not copied, but their current values are.

protected:
 override void GetCurrentValueAsFrozenCore(System::Windows::Freezable ^ sourceFreezable);
protected override void GetCurrentValueAsFrozenCore (System.Windows.Freezable sourceFreezable);
override this.GetCurrentValueAsFrozenCore : System.Windows.Freezable -> unit
Protected Overrides Sub GetCurrentValueAsFrozenCore (sourceFreezable As Freezable)

參數

sourceFreezable
Freezable

要複製和凍結的 BitmapSourceThe BitmapSource to copy and freeze.

備註

這個方法是由 GetCurrentValueAsFrozen 方法所呼叫,不應直接從程式碼呼叫,除非在覆寫這個方法時呼叫基底執行。This method is called by the GetCurrentValueAsFrozen method and should not be called directly from your code, except when calling the base implementation while overriding this method. 若要建立目前物件的凍結複本,請呼叫 GetCurrentValueAsFrozen,而不是直接呼叫此方法。To create a frozen copy of the current object, call GetCurrentValueAsFrozen instead of calling this method directly.

如需詳細資訊,請參閱Freezable.GetCurrentValueAsFrozenCoreFor more information see Freezable.GetCurrentValueAsFrozenCore.

適用於