共用方式為


Short2.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
    The object with which to make the comparison.

Return Value

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

Requirements

Namespace: Microsoft.Xna.Framework.Graphics.PackedVector

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

See Also

Reference

Short2 Structure
Short2 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Platforms

Windows Phone