Szerkesztés

Megosztás a következőn keresztül:


KeyTime.Equality(KeyTime, KeyTime) Operator

Definition

Overloaded operator that compares two KeyTime structures for equality.

public:
 static bool operator ==(System::Windows::Media::Animation::KeyTime keyTime1, System::Windows::Media::Animation::KeyTime keyTime2);
public static bool operator == (System.Windows.Media.Animation.KeyTime keyTime1, System.Windows.Media.Animation.KeyTime keyTime2);
static member ( = ) : System.Windows.Media.Animation.KeyTime * System.Windows.Media.Animation.KeyTime -> bool
Public Shared Operator == (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 keyTime1 and keyTime2 are equal; otherwise, false.

Remarks

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

Applies to