KeyTime.Equals Method (KeyTime, KeyTime)

 

Indicates whether the two specified KeyTime structures are equal.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public static bool Equals(
	KeyTime keyTime1,
	KeyTime keyTime2
)

Parameters

keyTime1
Type: System.Windows.Media.Animation.KeyTime

The first value to compare.

keyTime2
Type: System.Windows.Media.Animation.KeyTime

The second value to compare.

Return Value

Type: System.Boolean

true if the values of keyTime1 and keyTime2 are equal; otherwise false.

Comparing two KeyTime instances with differently typed KeyTimeType properties, including the special values Uniform or Paced, elicits a false return value.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: