Duration.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(Object) |
Determines whether a specified object is equal to a Duration. |
Equals(Duration) |
Determines whether a specified Duration is equal to this Duration. |
Equals(Duration, Duration) |
Determines whether two Duration values are equal. |
Equals(Object)
Determines whether a specified object is equal to a Duration.
public:
override bool Equals(System::Object ^ value);
public override bool Equals (object value);
override this.Equals : obj -> bool
Public Overrides Function Equals (value As Object) As Boolean
Parameters
- value
- Object
Object to check for equality.
Returns
true
if value is equal to this Duration; otherwise, false
.
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) Duration
struct. For more information, see Duration in the UWP API reference.
Applies to
Equals(Duration)
public:
bool Equals(Windows::UI::Xaml::Duration duration);
public bool Equals (Windows.UI.Xaml.Duration duration);
override this.Equals : Windows.UI.Xaml.Duration -> bool
Public Function Equals (duration As Duration) As Boolean
Parameters
Returns
true
if duration
is equal to this Duration; otherwise, false
.
Applies to
Equals(Duration, Duration)
Determines whether two Duration values are equal.
public:
static bool Equals(Windows::UI::Xaml::Duration t1, Windows::UI::Xaml::Duration t2);
public static bool Equals (Windows.UI.Xaml.Duration t1, Windows.UI.Xaml.Duration t2);
static member Equals : Windows.UI.Xaml.Duration * Windows.UI.Xaml.Duration -> bool
Public Shared Function Equals (t1 As Duration, t2 As Duration) As Boolean
Parameters
Returns
true
if t1
is equal to t2
; otherwise, false
.