Duration.Equality(Duration, Duration) 运算符
定义
public:
static bool operator ==(Windows::UI::Xaml::Duration t1, Windows::UI::Xaml::Duration t2);
public static bool operator == (Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2);
static member ( = ) : Windows.UI.Xaml.Duration * Windows.UI.Xaml.Duration -> bool
Public Shared Operator == (t1 As Duration, t2 As Duration) As Boolean
参数
返回
如果两个 Duration 值具有相等属性值,或所有 Duration 值均为 null,则为 true;否则为 false。true if both Duration values have equal property values, or if all Duration values are null; otherwise, false.
注解
此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Duration 。This struct represents the .NET projection of the Windows Runtime (WinRT) Duration struct. 有关详细信息,请参阅 UWP API 参考中的 持续时间 。For more information, see Duration in the UWP API reference.