Equality Operator
Collapse the table of content
Expand the table of content

KeyTime.Equality Operator (KeyTime, KeyTime)


Overloaded operator that compares two KeyTime structures for equality.

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

public static bool operator ==(
	KeyTime keyTime1,
	KeyTime keyTime2


Type: System.Windows.Media.Animation.KeyTime

The first value to compare.

Type: System.Windows.Media.Animation.KeyTime

The second value to compare.

Return Value

Type: System.Boolean

true if keyTime1 and keyTime2 are equal; otherwise, false.

Comparing 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
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft