Dynamicweb 8 Documentation
GetProductByNumber(String,String) Method

Product number.
The language ID.
Gets the product by number.
Syntax
'Declaration
 
Public Overloads Shared Function GetProductByNumber( _ 
   ByVal productNumber As String, _ 
   ByVal languageID As String _ 
) As Product
public static Product GetProductByNumber( 
   string productNumber,
   string languageID 
)

Parameters

productNumber
Product number.
languageID
The language ID.

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