Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft