This constructor instantiates an existing CPublicationProduct stored in the database.

Namespace:  Asi.iBO.Commerce
Assembly:  Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0

Syntax

C#
public CPublicationProduct(
	IiMISUser user,
	string productCode
)
Visual Basic (Declaration)
Public Sub New ( _
	user As IiMISUser, _
	productCode As String _
)
Visual C++
public:
CPublicationProduct(
	IiMISUser^ user, 
	String^ productCode
)

Parameters

user
Type: Asi.iBO..::.IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
productCode
Type: System..::.String
The product code that identifies the desired product.

Exceptions

ExceptionCondition
Asi.iBO..::.ObjectNotFoundException thrown when no product with the supplied productCode is found.

See Also