QueryEngine<T0>.SetGlobalStringComparisonOptions
Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public void SetGlobalStringComparisonOptions(stringComparison stringComparison);
Parameters
stringComparison |
String comparison options. |
Description
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);