Skip to main content

ISearch.AddSearchResult(object,string) method

Namespace: NextDesign.Core

Description

Register search results.

If information other than the model is treated as a search result, it can be registered using this method.

argument

NameTypeDescription
itemobjectThe object that matches the search criteria

You cannot specify null.

Note)
You can specify any object, but the search results list will display the string representation of this object. Therefore, it is recommended that the specified object implements ToString().
messagestringMessage

Return value

Exceptions

NameException ClassDescription
Invalid argumentExtensionArgumentExceptionIf null is specified for item