Click or drag to resize

ITableOperationsIsSearchMatch(Object, StringComparison, String) Method

Determines if any record fields modeled with the SearchableAttribute match any of the specified searchValues.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
bool IsSearchMatch(
	Object record,
	StringComparison comparison,
	params string[] searchValues
)
View Source

Parameters

record  Object
Modeled table record.
comparison  StringComparison
StringComparison to use when searching string fields.
searchValues  String
Values to search.

Return Value

Boolean
true if any record fields modeled with SearchableAttribute match any of the specified searchValues; otherwise, false.
See Also