Muokkaa

Jaa


KeyTime.Equals Method

Definition

Overloads

Equals(Object)

Indicates whether a KeyTime is equal to this KeyTime.

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)

Indicates whether a KeyTime is equal to this KeyTime.

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

The KeyTime to compare with this KeyTime.

Returns

true if value is a KeyTime that represents the same length of time as this KeyTime; otherwise, false.

Applies to

Equals(KeyTime)

Indicates whether a specified KeyTime is equal to this 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

value
KeyTime

The KeyTime to compare with this KeyTime.

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.

Applies to