Share via


Vector2.op_Inequality(Vector2,Vector2) Method (Microsoft.DirectX)

Compares the current instance of a class to another instance to determine whether they are different.

Definition

Visual Basic Public Shared Function op_Inequality( _
    ByVal left As Vector2, _
    ByVal right As Vector2 _
) As Boolean
C# public static bool op_Inequality(
    Vector2 left,
    Vector2 right
);
C++ public:
static bool operator!=(
    Vector2 left,
    Vector2 right
);
JScript public static function op_Inequality(
    left : Vector2,
    right : Vector2
) : boolean;

Parameters

left Microsoft.DirectX.Vector2
The Vector2 structure to the left of the inequality operator.
right Microsoft.DirectX.Vector2
The Vector2 structure to the right of the inequality operator.

Return Value

System.Boolean
Value that is true if the objects are different, or false if they are the same.