TouchCollection Methods

Public Methods

Name Description
Public Method Add Adds a TouchLocation to the collection.
Public Method Clear Removes all TouchLocation objects from the collection.
Public Method Contains Checks if the current touch collection contains the specified touch location.
Public Method CopyTo Copies the touch location to the collection at the specified index.
Public Method Equals (Inherited from ValueType.)
Public Method FindById Retrieves the touch location matching the specified ID.
Public Method GetEnumerator Returns an enumerator that iterates through the TouchCollection.
Public Method GetHashCode (Inherited from ValueType.)
Public Method GetType (Inherited from Object.)
Public Method IndexOf Determines the index of a TouchLocation in the TouchCollection.
Public Method Insert Inserts a new TouchLocation into the TouchCollection at a specified index.
Public Method Remove Removes the specified TouchLocation from the TouchCollection.
Public Method RemoveAt Removes a TouchLocation at the specified index in the TouchCollection.
Public Method ToString (Inherited from ValueType.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through the TouchCollection.

See Also


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