IUIAnimationStoryboard2::Abandon 方法 (uianimation.h)
終止分鏡腳本、釋放所有相關的動畫變數,並從排程中移除分鏡腳本。
Syntax
HRESULT Abandon();
傳回值
如果此方法成功,則會傳回S_OK。 否則,它會傳回 HRESULT 錯誤碼。 如需錯誤碼的清單,請參閱 Windows 動畫錯誤碼 。
備註
這個方法可以在腳本開始播放之前或之後呼叫。
這個方法不會觸發任何分鏡腳本事件。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | 適用於 Windows 7 Windows 8、Windows 7 和平臺更新 [傳統型應用程式 |UWP 應用程式] |
最低支援的伺服器 | 都不支援 |
目標平台 | Windows |
標頭 | uianimation.h |
Dll | UIAnimation.dll |
另請參閱
IUIAnimationManager2::AbandonAllStoryboards
IUIAnimationStoryboard2::Conclude