Share via


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 .NET Micro Framework version 2.0, 2.5

See Also

Reference

Buttons Class
Button Enumeration
Buttons Members
Microsoft.SPOT.Input Namespace