共用方式為


ISystemBackdropControllerWithTargets.AddSystemBackdropTarget 方法

定義

加入要繪製材質的指定系統底板目標。

public:
 bool AddSystemBackdropTarget(ICompositionSupportsSystemBackdrop ^ systemBackdropTarget);
bool AddSystemBackdropTarget(ICompositionSupportsSystemBackdrop const& systemBackdropTarget);
public bool AddSystemBackdropTarget(ICompositionSupportsSystemBackdrop systemBackdropTarget);
function addSystemBackdropTarget(systemBackdropTarget)
Public Function AddSystemBackdropTarget (systemBackdropTarget As ICompositionSupportsSystemBackdrop) As Boolean

參數

systemBackdropTarget
ICompositionSupportsSystemBackdrop

要新增的系統底下目標。

傳回

Boolean

bool

true 如果控制器能夠在目標上繪製材質,則為 ;否則為 false

備註

重新新增現有的目標不會執行任何動作。

這個方法必須在具有 DispatcherQueue的執行緒上呼叫。

適用於