SecondaryBuffer.op_Equality(SecondaryBuffer,SecondaryBuffer) Method (Microsoft.DirectX.DirectSound)

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 SecondaryBuffer, _
    ByVal right As SecondaryBuffer _
) As Boolean
C# public static bool op_Equality(
    SecondaryBuffer left,
    SecondaryBuffer right
);
C++ public:
static bool operator==(
    SecondaryBufferleft,
    SecondaryBufferright
);
JScript public static function op_Equality(
    left : SecondaryBuffer,
    right : SecondaryBuffer
) : boolean;

Parameters

left Microsoft.DirectX.DirectSound.SecondaryBuffer
The SecondaryBuffer object to the left of the equality operator.
right Microsoft.DirectX.DirectSound.SecondaryBuffer
The SecondaryBuffer object to the right of the equality operator.

Return Value

System.Boolean
Returns true if the objects are the same; otherwise, false.