TouchCollection.CopyTo Method

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

Syntax

'Declaration
Public Sub CopyTo ( _
         array As TouchLocation(), _
         arrayIndex As Integer _
)
public void CopyTo (
         TouchLocation[] array,
         int arrayIndex
)
public:
void CopyTo(
         TouchLocation array[],
         int arrayIndex
)

Parameters

  • array
    Type: TouchLocation
    Array receiving the copied touch location.
  • arrayIndex
    Type: Int32
    Target index of the collection.

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