Device.op_Equality(Device,Device) Method (Microsoft.DirectX.DirectInput)

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

Definition

Visual Basic Public Shared Function op_Equality( _
    ByVal left As Device, _
    ByVal right As Device _
) As Boolean
C# public static bool op_Equality(
    Device left,
    Device right
);
C++ public:
static bool operator==(
    Deviceleft,
    Deviceright
);
JScript public static function op_Equality(
    left : Device,
    right : Device
) : boolean;

Parameters

left Microsoft.DirectX.DirectInput.Device
The Device structure to the left of the equality operator.
right Microsoft.DirectX.DirectInput.Device
The Device structure to the right of the equality operator.

Return Value

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