M-Files API 23.11.13135.0
Set Method
SearchCondition Object : Set Method
Description
Sets the search condition.
Syntax
Visual Basic
Public Sub Set( _
   ByVal Expression As Expression, _
   ByVal ConditionType As MFConditionType, _
   ByVal TypedValue As TypedValue _
) 
Parameters
Expression
ConditionType
ValueDescription
MFConditionTypeContainsContains the given text string (similar to LIKE 'xyz').
MFConditionTypeContainsAnyBitwiseContains any of the bits of the given number. Treats its operands as a vector of bits rather than a single number.
MFConditionTypeDoesNotContainDoes not contain the given text string (similar to NOT LIKE 'xyz').
MFConditionTypeDoesNotContainAnyBitwiseDoes not contain any of the bits of the given number. Treats its operands as a vector of bits rather than a single number.
MFConditionTypeDoesNotMatchWildcardPatternDoes not match the given DOS-style wildcard pattern (such as '*.txt').
MFConditionTypeDoesNotStartWithDoes not start with the given text string (similar to NOT LIKE 'xyz%').
MFConditionTypeEqualMust be equal to.
MFConditionTypeGreaterThanMust be greater than.
MFConditionTypeGreaterThanOrEqualMust be greater than or equal to.
MFConditionTypeLessThanMust be less than.
MFConditionTypeLessThanOrEqualMust be less than or equal to.
MFConditionTypeMatchesWildcardPatternMatches the given DOS-style wildcard pattern (such as '*.txt').
MFConditionTypeNotEqualMust not be equal to.
MFConditionTypeStartsWithStarts with the given text string (similar to LIKE 'xyz%').
MFConditionTypeStartsWithAtWordBoundaryStarts with the given text string at a word boundary. Similar to LIKE 'xyz%', but evaluated at the beginning of each word).
TypedValue
See Also

SearchCondition Object  | SearchCondition Members