Creates a new Code Info object.

Namespace:  Phidgets
Assembly:  Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34

Syntax

C#
public IRCodeInfo(
	IRCodeInfo..::.IREncoding encoding,
	int bitCount,
	int[] header,
	int[] zero,
	int[] one,
	int trail,
	int gap,
	int[] repeat
)
Visual Basic (Declaration)
Public Sub New ( _
	encoding As IRCodeInfo..::.IREncoding, _
	bitCount As Integer, _
	header As Integer(), _
	zero As Integer(), _
	one As Integer(), _
	trail As Integer, _
	gap As Integer, _
	repeat As Integer() _
)
Visual C++
public:
IRCodeInfo(
	IRCodeInfo..::.IREncoding encoding, 
	int bitCount, 
	array<int>^ header, 
	array<int>^ zero, 
	array<int>^ one, 
	int trail, 
	int gap, 
	array<int>^ repeat
)

Parameters

encoding
Type: Phidgets..::.IRCodeInfo..::.IREncoding
Encoding.
bitCount
Type: System..::.Int32
Code length.
header
Type: array< System..::.Int32 >[]()[]
Header data.
zero
Type: array< System..::.Int32 >[]()[]
Zero data.
one
Type: array< System..::.Int32 >[]()[]
One data.
trail
Type: System..::.Int32
Trailing pulse length.
gap
Type: System..::.Int32
Gap length
repeat
Type: array< System..::.Int32 >[]()[]
Repeat code data.

See Also