ButtonEventArgs 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 ButtonEventArgs class.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub New ( _
buttonDevice As ButtonDevice, _
inputSource As PresentationSource, _
timestamp As DateTime, _
button As Button _
)
public ButtonEventArgs(
ButtonDevice buttonDevice,
PresentationSource inputSource,
DateTime timestamp,
Button button
)
public:
ButtonEventArgs(
ButtonDevice^ buttonDevice,
PresentationSource^ inputSource,
DateTime timestamp,
Button button
)
new :
buttonDevice:ButtonDevice *
inputSource:PresentationSource *
timestamp:DateTime *
button:Button -> ButtonEventArgs
public function ButtonEventArgs(
buttonDevice : ButtonDevice,
inputSource : PresentationSource,
timestamp : DateTime,
button : Button
)
Parameters
- buttonDevice
Type: Microsoft.SPOT.Input. . :: . .ButtonDevice
The button device that generated the input.
- inputSource
Type: Microsoft.SPOT.Presentation. . :: . .PresentationSource
The source of the input.
- timestamp
Type: System. . :: . .DateTime
The time period during which the input was received.
- button
Type: Microsoft.SPOT.Hardware. . :: . .Button
A value that specifies the button used to enter the input.
.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.