Retrieves all of the Products from the database that have the given product type
Namespace:
Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.2.0
Syntax
| C# |
|---|
public static Hashtable GetProductsByType( IiMISUser user, string productTypeCode ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetProductsByType ( _ user As IiMISUser, _ productTypeCode As String _ ) As Hashtable |
| Visual C++ |
|---|
public: static Hashtable^ GetProductsByType( IiMISUser^ user, String^ productTypeCode ) |
Parameters
- user
- Type: Asi.iBO..::.IiMISUser
The IiMISUser object providing the security credentials of the logged in user.
- productTypeCode
- Type: System..::.String
The type of product. See ProductTypeCode
Return Value
A Hashtable consisting of- Key: A String that is the ProductCode.
- Value: The corresponding CProduct.