TouchCollection.Contains Method
Checks if the current touch collection contains the specified touch location.
Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool Contains (
TouchLocation item
)
Parameters
- item
Touch location to be checked against the current collection.
Return Value
The value is true if the item is present in the collection; otherwise it is false.
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