Singer Instruments PIXL Client
CanSleep Property (PIXLClient)
Example 



SI.PIXL.Client Namespace > PIXLClient Class : CanSleep Property
Get if the PIXL can sleep.
Syntax
'Declaration
 
Public ReadOnly Property CanSleep As Boolean
'Usage
 
Dim instance As PIXLClient
Dim value As Boolean
 
value = instance.CanSleep
public bool CanSleep {get;}
public:
property bool CanSleep {
   bool get();
}
Example
This sample shows how to use the CanSleep property.
// Display if the PIXL can sleep on the Console.
Console.WriteLine($"PIXL can sleep: {pixl.CanSleep}.");
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members