AFSearchTextOption Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Indicates the text search option to be applied to the search pattern.
Namespace: OSIsoft.AF.Search
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public enum AFSearchTextOption
Public Enumeration AFSearchTextOption Dim instance As AFSearchTextOption
public enum class AFSearchTextOption
type AFSearchTextOption
Members
| Member name | Value | Description | |
|---|---|---|---|
| Contains | 1 | Matches any text that contains the search string. | |
| ExactMatch | 2 | Matches any text that exactly the search string. | |
| StartsWith | 3 | Matches any text that starts with the search string. | |
| EndsWith | 4 | Matches any text that ends with the search string. |
Remarks
This enumeration is used with the ConvertAFPatternToRegexPattern(String, AFSearchTextOption) method.