Property Locale
Locale
Get or Set locale used by date range parsing, lowercasing, and other locale-sensitive operations.
By default, the culture is null
, which indicates to read the culture on the fly
from System.Globalization.CultureInfo.CurrentCulture. This ensures if you change the culture on
the current thread, QueryParser will utilize it. You can also explicitly set a culture.
Setting the culture to null
will restore the default behavior if you have explicitly set a culture.
Declaration
public virtual CultureInfo Locale { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo |