Singer Instruments PIXL Client
IsBayOccupied Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class : IsBayOccupied Method
The bay.
Determine if a bay is occupied.
Syntax
'Declaration
 
Public Function IsBayOccupied( _
   ByVal bay As Bays _
) As Boolean
'Usage
 
Dim instance As PIXLClient
Dim bay As Bays
Dim value As Boolean
 
value = instance.IsBayOccupied(bay)
public bool IsBayOccupied( 
   Bays bay
)
public:
bool IsBayOccupied( 
   Bays bay
) 

Parameters

bay
The bay.

Return Value

True if the bay is occupied, else false.
Example
This sample shows how to use the IsBayOccupied method.
// Determine if the red bay is occupied.
var isOccupied = pixl.IsBayOccupied(Bays.Red);
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