FilterOnCondition Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets a value that indicates if the filtered DiscountItemCollection should include discounts that are a condition of a discount in the cache. The default value is true.
Namespace: Microsoft.CommerceServer.Runtime.Marketing
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Property FilterOnCondition As Boolean
'Usage
Dim instance As DiscountCriteriaFilter
Dim value As Boolean
value = instance.FilterOnCondition
instance.FilterOnCondition = value
public bool FilterOnCondition { get; set; }
public:
property bool FilterOnCondition {
bool get ();
void set (bool value);
}
public function get FilterOnCondition () : boolean
public function set FilterOnCondition (value : boolean)
Property Value
Type: System..::.Boolean
true to indicate that the DiscountItemCollection should include discounts that are a condition of a discount in the cache; otherwise false.
Remarks
A return value of true indicates that if the Product (or Category) specified in the filter command is a condition of a discount in the cache and the discount will be included in the filtered DiscountItemCollection. A return value of false will make the discount filtering algorithm ignore the discount condition when filtering discounts.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.