Share via


Vector3.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

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone