共用方式為


TouchCollection Constructor

Initializes a new instance of the TouchCollection structure with a set of touch locations.

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

Syntax

public TouchCollection (
         TouchLocation[] touches
)

Parameters

  • touches
    Array of touch locations.

See Also

Tasks

Working with Touch Input (Windows Phone)

Reference

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

Platforms

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