Condividi tramite


HardwareButton Constructor

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

Initializes a new instance of the HardwareButton class.

Namespace:  Microsoft.WindowsCE.Forms
Assembly:  Microsoft.WindowsCE.Forms (in Microsoft.WindowsCE.Forms.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New HardwareButton()
public HardwareButton()
public:
HardwareButton()
new : unit -> HardwareButton

Exceptions

Exception Condition
NotSupportedException

This class is not supported on the Smartphone and other Windows CE devices that are not Pocket PCs.

-or-

The associated control is not a Form, Panel, UserControl, or Control.

Remarks

This class is not available on the Smartphone or other Windows CE devices that are not Pocket PCs.

.NET Framework Security

Platforms

Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

HardwareButton Class

HardwareButton Members

Microsoft.WindowsCE.Forms Namespace