ContainmentModeType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ContainmentModeType enumeration identifies the boundaries of a search.
public enum class ContainmentModeType
public enum ContainmentModeType
Public Enum ContainmentModeType
- Inheritance
-
ContainmentModeType
Fields
Name | Value | Description |
---|---|---|
FullString | 0 | Specifies that the comparison is between the full string value of the property and the constant. If the property value and the supplied constant are the same, the expression resolves to true. |
Prefixed | 1 | Specifies that the comparison is between the prefix of the property and the constant. If the prefix of the property value matches the value that is provided in the constant, the expression resolves to true. |
Substring | 2 | Specifies that the comparison is between a substring of the property value and the constant. If the substring exists anywhere in the property value, the expression resolves to true. |
PrefixOnWords | 3 | Specifies that the comparison is between a prefix on any individual word in the property value and the constant. If any of the words are prefixed with a value that matches the value that is provided in the constant, the expression resolves to true. |
ExactPhrase | 4 | Specifies that the comparison is between the exact phrase in the property and the constant. If the phrase and the supplied constant are the same, the expression resolves to true. |
Remarks
This enumeration is used by the ContainmentMode property of the ContainsExpressionType object.