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 Shared Operator = (
	keyTime1 As KeyTime,
	keyTime2 As KeyTime
) As Boolean

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 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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: