IUIAnimationVariable::GetValue 方法 (uianimation.h)
取得動畫變數的目前值。
語法
HRESULT GetValue(
[out] DOUBLE *value
);
參數
[out] value
動畫變數的目前值。
傳回值
如果方法成功,它會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。 如需錯誤碼的清單,請參閱 Windows 動畫錯誤碼 。
備註
結果可能會受到 IUIAnimationVariable::SetLowerBound 和 IUIAnimationVariable::SetUpperBound 所決定的下限和上限所影響。
範例
如需範例,請參閱 讀取動畫變數值。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | 適用於 Windows Vista 的 Windows 7、Windows Vista 和平臺更新 [傳統型應用程式 |UWP 應用程式] |
最低支援的伺服器 | 都不支援 |
目標平台 | Windows |
標頭 | uianimation.h |
Dll | UIAnimation.dll |
另請參閱
IUIAnimationVariable::GetFinalValue
IUIAnimationVariable::GetIntegerValue
IUIAnimationVariable::GetPreviousValue