GetDeviceByProductId Method

PPJoy

Gets a Device object representing the PPJoy device whose product ID matches the supplied Product ID.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Function GetDeviceByProductId ( _
	productId As Integer _
) As Device
C#
public Device GetDeviceByProductId(
	int productId
)
Visual C++
public:
Device^ GetDeviceByProductId(
	int productId
)

Parameters

productId
Type: System..::.Int32
The Product ID of the Device to return.

Return Value

a Device object representing the PPJoy device whose Product ID matches the value supplied in the productId argument.

See Also