vcProductTypeFilter

vcProductTypeFilter is a product filter that accepts or rejects products based on the vcProductType of the vcProduct instance. A product will be accepted by the product filter if the product type or its flow group matches the filter, unless the AcceptAllProductTypesproperty is set to True.

Inherits: vcProductFilter

Properties

Name Type Access Description
AcceptAllProductTypes Boolean RW (Deprecated) Use vcProductFilter.IsEnabled property instead.

When set to True, any product is accepted and AcceptedFlowGroups and AcceptedProductTypes are ignored.

AcceptAllProductTypes property is synchronized with an inverse of vcProductFilter.IsEnabled.
This way:
  • Setting AcceptAllProductTypes to True will set IsEnabled to False.
  • Setting IsEnabled to True will set AcceptAllProductTypes to False.
AcceptedFlowGroups list of vcProcessFlowGroup RW Allows only the selected flow groups.
AcceptedProductTypes  list of vcProductType RW Allows only the selected product types.

Constructors

Name Return Type Parameters Description
new vcProductTypeFilter None Creates a new vcProductTypeFilter object and returns the new product type filter.