Share via


IUIAnimationVariable::GetIntegerValue メソッド (uianimation.h)

アニメーション変数の現在の値を整数として取得します。

構文

HRESULT GetIntegerValue(
  [out] INT32 *value
);

パラメーター

[out] value

INT32 値に変換されたアニメーション変数の現在の値。

戻り値

メソッドが成功した場合は、S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。 エラー コードの一覧については、「 Windows アニメーション のエラー コード」を参照してください。

注釈

値を変換するときに使用する丸めモードを指定するには、 IUIAnimationVariable::SetRoundingMode メソッドを 使用します。

結果は、 それぞれ IUIAnimationVariable::SetLowerBoundIUIAnimationVariable::SetUpperBound によって決定される下限と上限の影響を受ける可能性があります。

例については、「 アニメーション変数値の読み取り」を参照してください。

要件

要件
サポートされている最小のクライアント Windows 7、Windows Vista、および Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー サポートなし
対象プラットフォーム Windows
ヘッダー uianimation.h
[DLL] UIAnimation.dll

こちらもご覧ください

IUIAnimationVariable

IUIAnimationVariable::GetFinalIntegerValue

IUIAnimationVariable::GetPreviousIntegerValue

IUIAnimationVariable::GetValue

IUIAnimationVariable::SetLowerBound

IUIAnimationVariable::SetRoundingMode

IUIAnimationVariable::SetUpperBound