Singer Instruments PIXL Client
UVBulbTotalDuration Property
Example 



SI.PIXL.Client Namespace > PIXLClient Class : UVBulbTotalDuration Property
Get the total duration of use the current UV bulb has had.
Syntax
'Declaration
 
Public ReadOnly Property UVBulbTotalDuration As TimeSpan
'Usage
 
Dim instance As PIXLClient
Dim value As TimeSpan
 
value = instance.UVBulbTotalDuration
public TimeSpan UVBulbTotalDuration {get;}
public:
property TimeSpan UVBulbTotalDuration {
   TimeSpan get();
}
Example
This sample shows how to use the UVBulbTotalDuration property.
// Display the PIXL's total UV bulb duration on the Console.
Console.WriteLine($"PIXL's UV bulb has been used for {pixl.UVBulbTotalDuration}.");
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