Export (0) Print
Expand All

HardwareButton.HardwareButton Constructor

Initializes a new instance of the HardwareButton class.

Namespace: Microsoft.WindowsCE.Forms
Assembly: Microsoft.WindowsCE.Forms (in microsoft.windowsce.forms.dll)

public HardwareButton ()
public HardwareButton ()
public function HardwareButton ()
Not applicable.

Exception typeCondition

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.

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

Windows Mobile for Pocket PC

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft