 | 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.ExportHandlerAssembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntaxprotected bool CheckBOMModifierValueMatch(
string pattern,
string fieldValue,
string parentFieldValue
)
Protected Function CheckBOMModifierValueMatch (
pattern As String,
fieldValue As String,
parentFieldValue As String
) As Boolean
Parameters
- pattern String
-
- fieldValue String
-
- parentFieldValue String
-
Return Value
Boolean
See Also