Version: 2022.1

QueryEngine<T0>.SetGlobalStringComparisonOptions

切换到手册
public void SetGlobalStringComparisonOptions (stringComparison stringComparison);

参数

stringComparison String comparison options.

描述

Sets global string comparison options. Used for word matching and filter handling (unless overridden by filter).

Calling this function will set the global string comparison options used for word and filter matching:

// Set the global string comparison options (default is OrdinalIgnoreCase)
queryEngine.SetGlobalStringComparisonOptions(StringComparison.Ordinal);

See QueryEngine.AddOperatorHandler for a complete example.