KeyTime.Inequality(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 op_Inequality : 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

适用于