Add a new CRegistrationLineItem object, adding any linked functions automatically.
Namespace: Asi.iBO.EventsAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public CRegistrationLineItem NewLineItem( string functionCode, double quantity ) |
| Visual Basic |
|---|
Public Function NewLineItem ( _ functionCode As String, _ quantity As Double _ ) As CRegistrationLineItem |
| Visual C++ |
|---|
public: CRegistrationLineItem^ NewLineItem( String^ functionCode, double quantity ) |
Parameters
- functionCode
- Type: System..::..String
The function code of the desired CRegistrationLineItem.
- quantity
- Type: System..::..Double
The quantity of registrations to be created.
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.