Share via


ButtonState Property

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

Gets the current state of the button input.

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

Syntax

'Declaration
Public ReadOnly Property ButtonState As ButtonState
public ButtonState ButtonState { get; }
public:
property ButtonState ButtonState {
    ButtonState get ();
}
member ButtonState : ButtonState with get
function get ButtonState () : ButtonState

Property Value

Type: Microsoft.SPOT.Input. . :: . .ButtonState
A value that indicates the current state of the button input.

.NET Framework Security

See Also

Reference

ButtonEventArgs Class

Microsoft.SPOT.Input Namespace