Short4.Equality Operator
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Compares the current instance of a class to another instance to determine whether they are the same.
Namespace: Microsoft.Xna.Framework.Graphics.PackedVector
Assembly: Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)
Syntax
'Declaration
Public Shared Operator = ( _
a As Short4, _
b As Short4 _
) As Boolean
public static bool operator ==(
Short4 a,
Short4 b
)
Parameters
- a
Type: Microsoft.Xna.Framework.Graphics.PackedVector.Short4
The object to the left of the equality operator.
- b
Type: Microsoft.Xna.Framework.Graphics.PackedVector.Short4
The object to the right of the equality operator.
Return Value
Type: System.Boolean
true if the objects are the same; false otherwise.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.