Short2.op_Equality Method
Compares the current instance of a class to another instance to determine whether they are the same.
Syntax
'Declaration
Public Shared Function op_Equality ( _
a As Short2, _
b As Short2 _
) As Boolean
public static bool op_Equality (
Short2 a,
Short2 b
)
public:
static bool op_Equality(
Short2 a,
Short2 b
)
Parameters
- a
Type: Short2
The object to the left of the equality operator. - b
Type: Short2
The object to the right of the equality operator.
Return Value
Type: Boolean
true if the objects are the same; 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