Click or drag to resize

UserExtensionsIsProductInFavoriteList Method (User, Int32, String)

Namespace:  Dynamicweb.Ecommerce.CustomerExperienceCenter.Favorites
Assembly:  Dynamicweb.Ecommerce (in Dynamicweb.Ecommerce.dll) Version: 1.12.0
Syntax
public static bool IsProductInFavoriteList(
	this User user,
	int favoriteListId,
	string productId
)

Parameters

user
Type: Dynamicweb.Security.UserManagementUser
favoriteListId
Type: SystemInt32
productId
Type: SystemString

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type User. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also