Dynamicweb 8 Documentation
GetProductByID(String,String,Boolean) Method

The product ID.
The variant ID.
if set to true [use default language].
Gets the product by ID.
Syntax
'Declaration
 
Public Overloads Shared Function GetProductByID( _ 
   ByVal productID As String, _ 
   ByVal variantID As String, _ 
   ByVal useDefaultLanguage As Boolean _ 
) As Product
public static Product GetProductByID( 
   string productID,
   string variantID,
   bool useDefaultLanguage 
)

Parameters

productID
The product ID.
variantID
The variant ID.
useDefaultLanguage
if set to true [use default language].
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Product Class
Product Members
Overload List

Send Feedback