TouchEventArgs Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes a new instance of the TouchEventArgs class.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
inputDevice As InputDevice, _
timestamp As DateTime, _
touches As TouchInput() _
)
public TouchEventArgs(
InputDevice inputDevice,
DateTime timestamp,
TouchInput[] touches
)
public:
TouchEventArgs(
InputDevice^ inputDevice,
DateTime timestamp,
array<TouchInput>^ touches
)
new :
inputDevice:InputDevice *
timestamp:DateTime *
touches:TouchInput[] -> TouchEventArgs
public function TouchEventArgs(
inputDevice : InputDevice,
timestamp : DateTime,
touches : TouchInput[]
)
Parameters
- inputDevice
Type: Microsoft.SPOT.Input. . :: . .InputDevice
The device where the touch (or stylus) event occurred.
- timestamp
Type: System. . :: . .DateTime
The time at which the event occurred.
- touches
Type: array<Microsoft.SPOT.Touch. . :: . .TouchInput> [] () [] []
Information about each touch point in a touch event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.