次の方法で共有


Rectangle.Equals Method (Object)

Returns a value that indicates whether the current instance is equal to a specified object.

Syntax

'Declaration
Public Overrides Function Equals ( _
         obj As Object _
) As Boolean 
public override bool Equals (
         Object obj
)
public:
bool Equals(
         Object obj
) override

Parameters

  • obj
    Type: Object
    Object to make the comparison with.

Return Value

Type: Boolean
true if the current instance is equal to the specified object; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone