Add a new CRegistrationLineItem object.

Namespace: Asi.iBO.Events
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public CRegistrationLineItem NewLineItem(
	string functionCode,
	double quantity,
	bool addLinkedFunctions
)
Visual Basic
Public Function NewLineItem ( _
	functionCode As String, _
	quantity As Double, _
	addLinkedFunctions As Boolean _
) As CRegistrationLineItem
Visual C++
public:
CRegistrationLineItem^ NewLineItem(
	String^ functionCode, 
	double quantity, 
	bool addLinkedFunctions
)

Parameters

functionCode
Type: System..::..String
The function code of the desired CRegistrationLineItem.
quantity
Type: System..::..Double
The quantity of registrations to be created.
addLinkedFunctions
Type: System..::..Boolean
If true, linked functions are automatically added to the registration.

Return Value

The new CRegistrationLineItem object.

Remarks

If the functionCode is empty or invalid, an error is reported. If there is already a CRegistrationLineItem in this CRegistration for the given function code, an error is reported.

See Also