Sdílet prostřednictvím


TouchCollection.IndexOf Method

Determines the index of a TouchLocation in the TouchCollection.

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

Syntax

public int IndexOf (
         TouchLocation item
)

Parameters

Return Value

The index of the specified touch location; -1 if the touch location could not be found.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7