RenderToSurface.op_Equality Method

Language:

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

Parameters

left Microsoft.DirectX.Direct3D.RenderToSurface
The RenderToSurface object to the left of the equality operator.
right Microsoft.DirectX.Direct3D.RenderToSurface
The RenderToSurface object to the right of the equality operator.

Return Value

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


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