次の方法で共有


IXRColorKeyFrame::GetKeyTime (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the time at which the target color value for this key frame is reached.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetKeyTime(
    XRKeyTime* pKeyTime
) = 0;

Parameters

  • pKeyTime
    [out] Pointer to an XRKeyTime structure that describes the time at which the current value of the key frame is equal to the target value.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The key-time specifies when this key frame ends. It does not specify how long the key frame plays. The length of time that a key frame plays is determined by when the key frame ends, when the previous key frame ended, and the animation's duration.

.NET Framework Equivalent

System.Windows.Media.Animation.ColorKeyFrame.KeyTime

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRColorKeyFrame
IXRColorKeyFrame::SetKeyTime