Equals Method

Matrix.Equals Method


Determines whether the two specified Matrix structures have the same values.

Namespace:   System.Windows.Media
Assembly:  WindowsBase (in WindowsBase.dll)


Determines whether the specified Matrix structure is identical to this instance.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Matrix, Matrix)

Determines whether the two specified Matrix structures are identical.


Determines whether the specified Object is a Matrix structure that is identical to this Matrix. (Overrides ValueType.Equals(Object).)


A Matrix stores its values as doubles. Because the value of a Double can lose precision when arithmetic operations are performed on it, a comparison between two Double structures that are logically equal might fail.

The following example shows how to check two Matrix structures for equality.

Return to top
© 2015 Microsoft