Click or drag to resize

GenericExportHandler<T, E, I>.CheckBOMModifierValueMatch Method

Returns whether or not given field (or parent field) value matches given pattern.

This supports exact value (case-insensitive), starts with, ends with, contains and NOT versions for all of those. For starts-with, use asterisk (*) as wildcard at the end of the value, for ends-with at the beginning and for contains at both. For NOT, start the value with exclamation (!).

To base the rule on PARENT's value, start with accent (^).

Furhermore, you can do OR -rules using pipe (|) in between.

Wildcard alone (*) is "must have non-empty value". Null or whitespace only is ignored. To achieve "must have empty value", use negation of "must have non-empty value" i.e. '!*'.

Value comparison is case-insensitive.

Namespace: CTExtensions.ExportCore.ExportHandler
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
protected bool CheckBOMModifierValueMatch(
	string pattern,
	string fieldValue,
	string parentFieldValue
)

Parameters

pattern  String
 
fieldValue  String
 
parentFieldValue  String
 

Return Value

Boolean
See Also