Share via


PrimaryDevice Property

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

Gets the primary button input device with which the current Buttons object is associated.

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

Syntax

'Declaration
Public Shared ReadOnly Property PrimaryDevice As ButtonDevice
public static ButtonDevice PrimaryDevice { get; }
public:
static property ButtonDevice^ PrimaryDevice {
    ButtonDevice^ get ();
}
static member PrimaryDevice : ButtonDevice
static function get PrimaryDevice () : ButtonDevice

Property Value

Type: Microsoft.SPOT.Input. . :: . .ButtonDevice
An object that represents the button input device with which the current Buttons object is associated.

.NET Framework Security

See Also

Reference

Buttons Class

Microsoft.SPOT.Input Namespace