다음을 통해 공유


IUIAnimationVariable::GetIntegerValue 메서드(uianimation.h)

애니메이션 변수의 현재 값을 정수로 가져옵니다.

구문

HRESULT GetIntegerValue(
  [out] INT32 *value
);

매개 변수

[out] value

INT32 값으로 변환된 애니메이션 변수의 현재 값입니다.

반환 값

메서드가 성공하면 S_OK가 반환되고, 그러지 않으면 HRESULT 오류 코드를 반환합니다. 오류 코드 목록은 Windows 애니메이션 오류 코드를 참조하세요.

설명

값을 변환할 때 사용할 반올림 모드를 지정하려면 IUIAnimationVariable::SetRoundingMode 메서드를 사용합니다.

결과는 IUIAnimationVariable::SetLowerBoundIUIAnimationVariable::SetUpperBound에 의해 결정되는 하한 및 상한의 영향을 받을 수도 있습니다.

예제

예제는 애니메이션 변수 값 읽기를 참조하세요.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows Vista용 Windows 7, Windows Vista 및 플랫폼 업데이트 [데스크톱 앱 | UWP 앱]
지원되는 최소 서버 지원되는 버전 없음
대상 플랫폼 Windows
헤더 uianimation.h
DLL UIAnimation.dll

추가 정보

IUIAnimationVariable

IUIAnimationVariable::GetFinalIntegerValue

IUIAnimationVariable::GetPreviousIntegerValue

IUIAnimationVariable::GetValue

IUIAnimationVariable::SetLowerBound

IUIAnimationVariable::SetRoundingMode

IUIAnimationVariable::SetUpperBound