TouchCollection Members

XNA Game Studio 4.0

The following tables list the members exposed by the TouchCollection type.

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

Public PropertyCountGets the current number of touch locations for the touch screen.
Public PropertyIsConnectedIndicates if the touch screen is available for use.
Public PropertyIsReadOnlyDetermines if the touch location array is read-only.
Public PropertyItemGets or sets the information of the specified touch location.

Public MethodAddAdds a TouchLocation to the collection.
Public MethodClearRemoves all TouchLocation objects from the collection.
Public MethodContainsChecks if the current touch collection contains the specified touch location.
Public MethodCopyToCopies the touch location to the collection at the specified index.
Public MethodEquals(Inherited from ValueType.)
Public MethodFindByIdRetrieves the touch location matching the specified ID.
Public MethodGetEnumeratorReturns an enumerator that iterates through the TouchCollection.
Public MethodGetHashCode(Inherited from ValueType.)
Public MethodGetType(Inherited from Object.)
Public MethodIndexOfDetermines the index of a TouchLocation in the TouchCollection.
Public MethodInsertInserts a new TouchLocation into the TouchCollection at a specified index.
Public MethodRemoveRemoves the specified TouchLocation from the TouchCollection.
Public MethodRemoveAtRemoves a TouchLocation at the specified index in the TouchCollection.
Public MethodToString(Inherited from ValueType.)

Protected MethodFinalize(Inherited from Object.)
Protected MethodMemberwiseClone(Inherited from Object.)

Explicit Interface ImplementationMethodSystem.Collections.IEnumerable.GetEnumeratorReturns an enumerator that iterates through the TouchCollection.

Community Additions