Bagikan melalui


TouchLocation.op_Equality Method

Determines whether two TouchLocation instances are equal.

Syntax

'Declaration
Public Shared Function op_Equality ( _
         value1 As TouchLocation, _
         value2 As TouchLocation _
) As Boolean 
public static bool op_Equality (
         TouchLocation value1,
         TouchLocation value2
)
public:
static bool op_Equality(
         TouchLocation value1,
         TouchLocation value2
)

Parameters

Return Value

Type: Boolean
true if the touch locations are equal; otherwise false.

Requirements

Namespace: Microsoft.Xna.Framework.Input.Touch

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

See Also

Reference

TouchLocation Structure
TouchLocation Members
Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Windows Phone