共用方式為


KeyTime.Equality(KeyTime, KeyTime) 運算子

定義

比較兩個 KeyTime 值是否相等。

public:
 static bool operator ==(Windows::UI::Xaml::Media::Animation::KeyTime keyTime1, Windows::UI::Xaml::Media::Animation::KeyTime keyTime2);
public static bool operator == (Windows.UI.Xaml.Media.Animation.KeyTime keyTime1, Windows.UI.Xaml.Media.Animation.KeyTime keyTime2);
static member ( = ) : Windows.UI.Xaml.Media.Animation.KeyTime * Windows.UI.Xaml.Media.Animation.KeyTime -> bool
Public Shared Operator == (keyTime1 As KeyTime, keyTime2 As KeyTime) As Boolean

參數

keyTime1
KeyTime

要比較的第一個值。

keyTime2
KeyTime

要比較的第二個值。

傳回

如果 keyTime1keyTime2 相等,則為 true;否則為 false

備註

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

適用於