SystemBackdrop.OnTargetDisconnected 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從其容器清除此物件時呼叫。
protected:
virtual void OnTargetDisconnected(ICompositionSupportsSystemBackdrop ^ disconnectedTarget) = OnTargetDisconnected;
void OnTargetDisconnected(ICompositionSupportsSystemBackdrop const& disconnectedTarget);
protected virtual void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget);
function onTargetDisconnected(disconnectedTarget)
Protected Overridable Sub OnTargetDisconnected (disconnectedTarget As ICompositionSupportsSystemBackdrop)
參數
- disconnectedTarget
- ICompositionSupportsSystemBackdrop
底下的目標。
範例
如需完整範例,請參閱 SystemBackdrop 。
protected override void OnTargetDisconnected(ICompositionSupportsSystemBackdrop disconnectedTarget)
{
base.OnTargetDisconnected(disconnectedTarget);
micaController.RemoveSystemBackdropTarget(disconnectedTarget);
micaController = null;
}