Click or drag to resize
SearchPattern Constructor
Initializes a new instance of SearchPattern.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax
C#
public SearchPattern(
	string searchText,
	SearchOptionsEnum supportedSearchSyntax
)

Parameters

searchText
Type: SystemString
Text to search for.
supportedSearchSyntax
Type: CMS.SearchSearchOptionsEnum
Type of supported search sytnax.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when searchTextis null or empty.
See Also