
- 305 -
EnableSuspendSlotX (X=0,1)
Sets or acquires the auto power OFF enable/disable status for the CF slot X currently being used.
■ Syntax
[VB]
Public Shared Property EnableSuspendSlotX As Integer
[C#]
public static int EnableSuspendSlotX {get; set;}
■ Property
Auto power OFF enable (EN_SUSPEND.ENABLE), disable (EN_SUSPEND.DISABLE)
Parameter values:
As listed in EN_SUSPEND
Default value:
Slot 0: Enable, Slot 1: Enable
■ Exceptions
Name of Exception Meaning
ArgumentException The setting is invalid.
NotSupportedException EnableSuspendSlot 0, 1 not supported.
■ Note
This is not supported on units running on Windows CE 4.1 or 4.2. An exception is thrown
when an attempt is made to set or acquire.
Slot 0 is located inside the BHT.
Remove the battery cover to locate Slot 1.
[Ex.] Disabling auto power OFF when Slot 0 is being used
[VB] PwrMng.Settings.EnableSuspendSLot0 = _
PwrMng.Settings.EN_SUSPEND.Enable
[C#] PwrMng.Settings.EnableSuspendSLot0 =
PwrMng.Settings.EN_SUSPEND.Enable;
Comentários a estes Manuais