Matrix.Equals Method (Object)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the specified Object is a Matrix structure that is identical to this Matrix.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Overrides Function Equals ( _
o As Object _
) As Boolean
public override bool Equals(
Object o
)
Parameters
- o
Type: System..::.Object
The Object to compare.
Return Value
Type: System..::.Boolean
true if o is a Matrix structure that is identical to this Matrix structure; otherwise, false.
Remarks
Note
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone