Bagikan melalui


TouchLocation.TryGetPreviousLocation Method

Attempts to get the previous location of this touch location object.

Syntax

'Declaration
Public Function TryGetPreviousLocation ( _
         out previousLocation As TouchLocation _
) As Boolean 
public bool TryGetPreviousLocation (
         out TouchLocation previousLocation
)
public:
bool TryGetPreviousLocation(
         out TouchLocation previousLocation
)

Parameters

Return Value

Type: Boolean
true if a previous location was retrrieved; otherwise false.

Requirements

Namespace: Microsoft.Xna.Framework.Input.Touch

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

See Also

Reference

TouchLocation Structure
TouchLocation Members
Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Windows Phone