Dynamicweb 8 Documentation
GetProductByNumber(String,Boolean) Method

Product number.
Value indicating whether to use default language.
Gets the product by number.
Syntax
'Declaration
 
Public Overloads Shared Function GetProductByNumber( _ 
   ByVal productNumber As String, _ 
   ByVal useDefaultLanguage As Boolean _ 
) As Product
public static Product GetProductByNumber( 
   string productNumber,
   bool useDefaultLanguage 
)

Parameters

productNumber
Product number.
useDefaultLanguage
Value indicating whether to use default language.

Return Value

Product with the given number or null (Nothing in Visual Basic) if product with the given number cannot be found.
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