Share via


IsButtonUp 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 in the up position (that is, not pressed down).

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ButtonDevice Class

Microsoft.SPOT.Input Namespace