Vector2.Equals Method

Language:

Returns a value that indicates whether the current instance is equal to a specified object.

Definition

Visual Basic Overrides Public Function Equals( _
    ByVal compare As Object _
) As Boolean
C# public override bool Equals(
    object compare
);
C++ public:
virtual bool Equals(
    Objectcompare
) override;
JScript public override function Equals(
    compare : Object
) : boolean;

Parameters

compare System.Object
Object with which to make the comparison.

Return Value

System.Boolean
Value that is true if the current instance is equal to the specified object, or false if it is not.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center