Dynamicweb.eCommerce.Products Namespace > Product Class : GetProductsByNameAndLanguage Method |
'Declaration
Public Shared Function GetProductsByNameAndLanguage( _ ByVal productName As String, _ ByVal productLanguageID As String _ ) As ProductCollection
public static ProductCollection GetProductsByNameAndLanguage( string productName, string productLanguageID )
class MyPage : System.Web.UI.Page { public void DoDelete(string productName, string productLanguageID) { ProductCollection products = Product.GetProductsByNameAndLanguage(productName, productLanguageID) foreach(Product product in products) { //TODO: insert your code here } } }
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