Interface IUnicodeCollation
An interface that can use Unicode rules (http://unicode.org/reports/tr10/) to do string collation
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public interface IUnicodeCollation : ICollation
Methods
| Improve this Doc View SourceIgnoreAccents(Boolean)
Instructs the object to either diacritics (e.g. accents) when collating or consider it (default is to consider)
Declaration
IUnicodeCollation IgnoreAccents(bool ignoreAccents)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreAccents | Whether or not to ignore diacritics |
Returns
Type | Description |
---|---|
IUnicodeCollation | The collation object for further processing |
IgnoreCase(Boolean)
Instructs the object to either ignore lowercase vs uppercase when collating or consider it (default is to consider)
Declaration
IUnicodeCollation IgnoreCase(bool ignoreCase)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | ignoreCase | Whether or not to ignore casing |
Returns
Type | Description |
---|---|
IUnicodeCollation | The collation object for further processing |
Locale(String)
Sets the locale to use when applying the collation rules
Declaration
IUnicodeCollation Locale(string locale)
Parameters
Type | Name | Description |
---|---|---|
System.String | locale | The POSIX locale code (ISO-639 language code plus an optional underbar [_] and ISO-3166 country code. Example: 'en', 'en_US', 'fr_CA', etc) |
Returns
Type | Description |
---|---|
IUnicodeCollation | The collation object for further processing |