Partilhar via


TouchCollection.FindById Method

Retrieves the touch location matching the specified ID.

Syntax

'Declaration
Public Function FindById ( _
         id As Integer, _
         out touchLocation As TouchLocation _
) As Boolean 
public bool FindById (
         int id,
         out TouchLocation touchLocation
)
public:
bool FindById(
         int id,
         out TouchLocation touchLocation
)

Parameters

Return Value

Type: Boolean
The return value is true if the item was found; otherwise it is false.

Requirements

Namespace: Microsoft.Xna.Framework.Input.Touch

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

See Also

Reference

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

Platforms

Windows Phone