Click or drag to resize

UserExtensionsIsProductInAnyFavoriteList Method (User, String, String)

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

Parameters

user
Type: Dynamicweb.Security.UserManagementUser
productId
Type: SystemString
variantId
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