Sdílet prostřednictvím


TouchCollection.Insert Method

Inserts a new TouchLocation into the TouchCollection at a specified index.

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

Syntax

public void Insert (
         int index,
         TouchLocation item
)

Parameters

  • index
    Index in the touch collection for the new item.
  • item
    TouchLocation to be inserted.

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