KeyTime KeyTime KeyTime KeyTime Struct

定義

指定動畫期間特定主要畫面格應該出現的時間。Specifies when a particular key frame should take place during an animation.

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

備註

這個結構代表 Windows 執行階段 (WinRT) KeyTime結構的 .net 投射。This struct represents the .NET projection of the Windows Runtime (WinRT) KeyTime struct. 如需詳細資訊, 請參閱 UWP API 參考中的KeyTimeFor more information, see KeyTime in the UWP API reference.

屬性

TimeSpan TimeSpan TimeSpan TimeSpan

取得主要畫面格結束的時間,以相對於動畫開始的時間表示。Gets the time when the key frame ends, expressed as a time relative to the beginning of the animation.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

表示某個 KeyTime 是否等於這個 KeyTimeIndicates whether a KeyTime is equal to this KeyTime.

Equals(KeyTime) Equals(KeyTime) Equals(KeyTime) Equals(KeyTime)

表示指定的 KeyTime 是否等於這個 KeyTimeIndicates whether a specified KeyTime is equal to this KeyTime.

Equals(KeyTime, KeyTime) Equals(KeyTime, KeyTime) Equals(KeyTime, KeyTime) Equals(KeyTime, KeyTime)

表示兩個 KeyTime 值是否相等。Indicates whether two KeyTime values are equal.

FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan) FromTimeSpan(TimeSpan)

使用提供的 KeyTime,建立新的 TimeSpanCreates a new KeyTime, using the supplied TimeSpan.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回表示這個 KeyTime 的雜湊程式碼。Returns a hash code representing this KeyTime.

ToString() ToString() ToString() ToString()

傳回這個 KeyTime 的字串表示。Returns a string representation of this KeyTime.

運算子

Equality(KeyTime, KeyTime) Equality(KeyTime, KeyTime) Equality(KeyTime, KeyTime) Equality(KeyTime, KeyTime)

比較兩個 KeyTime 值是否相等。Compares two KeyTime values for equality.

Implicit(TimeSpan to KeyTime) Implicit(TimeSpan to KeyTime) Implicit(TimeSpan to KeyTime) Implicit(TimeSpan to KeyTime)

TimeSpan 隱含轉換為 KeyTimeImplicitly converts a TimeSpan to a KeyTime.

Inequality(KeyTime, KeyTime) Inequality(KeyTime, KeyTime) Inequality(KeyTime, KeyTime) Inequality(KeyTime, KeyTime)

比較兩個 KeyTime 值是否不相等。Compares two KeyTime values for inequality.

適用於

另請參閱