Skip to main content

ISearch.AddSearchResult(IModel,string,string) method

Namespace: NextDesign.Core

Description

Register search results.

If the search target is a model in particular, you can add field information that hits the search conditions by using this interface.

argument

NameTypeDescription
modelIModelThe model that matches the search criteria

You cannot specify null.
fieldsstringField names that match the search conditions (separated by commas if multiple)

If null is specified, field information will not be set in the search results.
messagestringMessage

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for model