Click or drag to resize

TableOperationsTIsSearchMatch(T, 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.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
Syntax
public bool IsSearchMatch(
	T record,
	StringComparison comparison,
	params string[] searchValues
)
View Source

Parameters

record  T
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