StateBlock.op_Equality(StateBlock,StateBlock) Method (Microsoft.DirectX.Direct3D)
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 StateBlock, _
ByVal right As StateBlock _
) As BooleanC# public static bool op_Equality(
StateBlock left,
StateBlock right
);C++ public:
static bool operator==(
StateBlock^ left,
StateBlock^ right
);JScript public static function op_Equality(
left : StateBlock,
right : StateBlock
) : boolean;
Parameters
left Microsoft.DirectX.Direct3D.StateBlock
The StateBlock object to the left of the equality operator.right Microsoft.DirectX.Direct3D.StateBlock
The StateBlock object to the right of the equality operator.
Return Value
System.Boolean
Returns true if the objects are the same; otherwise, false.