Version: 2021.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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961