Click or drag to resize
SearchHelperSearch Method
Returns dataset with search results, if search is used for non-document index, path and class name values are ignored (can be null).

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 12.0.0
Syntax
C#
public static SearchResult Search(
	SearchParameters parameters
)

Parameters

parameters
Type: CMS.SearchSearchParameters
Search parameters

Return Value

Type: SearchResult
DataSet with search results
Remarks
This method does not constrain the search by ClassNames. To constrain the search by class names, set DocumentCondition of a SearchCondition. Use CombineSearchCondition(String, SearchCondition) to obtain the resulting SearchFor expression.
See Also