共用方式為


TouchCollection.CopyTo Method

Copies the touch location to the collection at the specified index.

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

Syntax

public void CopyTo (
         TouchLocation[] array,
         int arrayIndex
)

Parameters

  • array
    Array receiving the copied touch location.
  • arrayIndex
    Target index of the collection.

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