Equals Method

Vector.Equals Method

 

Compares two vectors for equality.

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is a Vector structure and, if it is, whether it has the same X and Y values as this vector.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(Vector)

Compares two vectors for equality.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Vector, Vector)

Compares the two specified vectors for equality.

A vector's X and Y properties are described using Double values. 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.

Return to top
Show:
© 2016 Microsoft