Bagikan melalui


GraphicsDevice.op_Equality Method

Compares two objects to determine whether they are the same.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static bool op_Equality (
         GraphicsDevice left,
         GraphicsDevice right
)

Parameters

  • left
    Object to the left of the equality operator.
  • right
    Object to the right of the equality operator.

Return Value

true if the objects are the same; false otherwise.

See Also

Reference

GraphicsDevice Class
GraphicsDevice Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista