KeyTime.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) | |
Equals(KeyTime) |
Indicates whether a specified KeyTime is equal to this KeyTime. |
Equals(KeyTime, KeyTime) |
Indicates whether two KeyTime values are equal. |
Remarks
This struct represents the .NET projection of the Windows Runtime (WinRT) KeyTime
struct. For more information, see KeyTime in the UWP API reference.
Equals(Object)
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
Returns
true
if value
is a KeyTime that represents the same length of time as this KeyTime; otherwise, false
.
Applies to
Equals(KeyTime)
public:
bool Equals(Windows::UI::Xaml::Media::Animation::KeyTime value);
public bool Equals (Windows.UI.Xaml.Media.Animation.KeyTime value);
override this.Equals : Windows.UI.Xaml.Media.Animation.KeyTime -> bool
Public Function Equals (value As KeyTime) As Boolean
Parameters
Returns
true
if value
is equal to this KeyTime; otherwise, false
.
Applies to
Equals(KeyTime, KeyTime)
Indicates whether two KeyTime values are equal.
public:
static bool Equals(Windows::UI::Xaml::Media::Animation::KeyTime keyTime1, Windows::UI::Xaml::Media::Animation::KeyTime keyTime2);
public static bool Equals (Windows.UI.Xaml.Media.Animation.KeyTime keyTime1, Windows.UI.Xaml.Media.Animation.KeyTime keyTime2);
static member Equals : Windows.UI.Xaml.Media.Animation.KeyTime * Windows.UI.Xaml.Media.Animation.KeyTime -> bool
Public Shared Function Equals (keyTime1 As KeyTime, keyTime2 As KeyTime) As Boolean
Parameters
- keyTime1
- KeyTime
The first value to compare.
- keyTime2
- KeyTime
The second value to compare.
Returns
true
if the values of keyTime1
and keyTime2
are equal; otherwise, false
.