Share via


IsButtonDown Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether a specified button is currently pressed down.

Namespace:  Microsoft.SPOT.Input
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Shared Function IsButtonDown ( _
    button As Button _
) As Boolean
public static bool IsButtonDown(
    Button button
)
public:
static bool IsButtonDown(
    Button button
)
static member IsButtonDown : 
        button:Button -> bool 
public static function IsButtonDown(
    button : Button
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if the specified button is currently pressed down; otherwise, false.

.NET Framework Security

See Also

Reference

Buttons Class

Microsoft.SPOT.Input Namespace