| RecognitionRuleUtilityMatches Method (String, RecognitionRuleConstraint, Boolean) |
Determines whether the given test value matches the given recognition rule constraint.
Namespace:
Dynamicweb.Analytics.Profiles.Recognition
Assembly:
Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax public static bool Matches(
string testValue,
RecognitionRuleConstraint constraint,
bool decomposeValue
)
Public Shared Function Matches (
testValue As String,
constraint As RecognitionRuleConstraint,
decomposeValue As Boolean
) As Boolean
Parameters
- testValue
- Type: SystemString
Test value. - constraint
- Type: Dynamicweb.Analytics.Profiles.RecognitionRecognitionRuleConstraint
Recognition rule constraint. - decomposeValue
- Type: SystemBoolean
Value indicating whether to decompose both test value and constraint value (using ValueSeparator) and compere their components instead.
Return Value
Type:
BooleanValue indicating whether the given test value matches the given recognition rule constraint.
See Also