Buttons.IsButtonHeld Method
Determines whether the specified button is currently being held down.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public static bool IsButtonHeld (
Buttonbutton
)
Parameters
- button
A value of the Button enumeration that identifies the button whose current state you want to determine.
Return Value
true if the specified button is currently being held down; otherwise, false.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Buttons Class
Button Enumeration
Buttons Members
Microsoft.SPOT.Input Namespace