KeyTime 結構

定義

指定特定的主要畫面格在動畫中的發生時機。

public value class KeyTime
public struct KeyTime
[System.Security.SecurityCritical]
public struct KeyTime
type KeyTime = struct
[<System.Security.SecurityCritical>]
type KeyTime = struct
Public Structure KeyTime
繼承
KeyTime
屬性

備註

此結構代表 Windows 執行階段 (WinRT) KeyTime 結構的 .NET 投影。 如需詳細資訊,請參閱 UWP API 參考中的 KeyTime

屬性

TimeSpan

取得以動畫開始時間的相對時間所表示主要畫面結束時間。

方法

Equals(KeyTime)

指出指定的 KeyTime 是否等於此 KeyTime

Equals(KeyTime, KeyTime)

指出兩個 KeyTime 值是否相等。

Equals(Object)

指出 KeyTime 是否等於此 KeyTime

FromTimeSpan(TimeSpan)

使用提供的 TimeSpan,建立新的 KeyTime

GetHashCode()

傳回表示這個 KeyTime 的雜湊碼。

ToString()

傳回這個 KeyTime 的字串表示。

運算子

Equality(KeyTime, KeyTime)

比較兩個 KeyTime 值是否相等。

Implicit(TimeSpan to KeyTime)

TimeSpan 隱含轉換為 KeyTime

Inequality(KeyTime, KeyTime)

比較兩個 KeyTime 值是否不相等。

適用於

另請參閱