SqlCompareOptions SqlCompareOptions SqlCompareOptions SqlCompareOptions Enum

定义

SqlString 结构指定比较选项值。Specifies the compare option values for a SqlString structure.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class SqlCompareOptions
[System.Flags]
[System.Serializable]
public enum SqlCompareOptions
type SqlCompareOptions = 
Public Enum SqlCompareOptions
继承
SqlCompareOptionsSqlCompareOptionsSqlCompareOptionsSqlCompareOptions
属性

字段

BinarySort BinarySort BinarySort BinarySort 32768

指定排序应基于字符数值(而非其字母值)。Specifies that sorts should be based on a characters numeric value instead of its alphabetical value.

BinarySort2 BinarySort2 BinarySort2 BinarySort2 16384

执行二进制排序。Performs a binary sort.

IgnoreCase IgnoreCase IgnoreCase IgnoreCase 1

指定 SqlString 比较必须忽略大小写。Specifies that SqlString comparisons must ignore case.

IgnoreKanaType IgnoreKanaType IgnoreKanaType IgnoreKanaType 8

指定 SqlString 比较必须忽略假名类型。Specifies that SqlString comparisons must ignore the Kana type. 假名类型是指日语平假名和片假名字符,它们表示日语中的语音。Kana type refers to Japanese hiragana and katakana characters that represent phonetic sounds in the Japanese language. 平假名用于表示日语自有的短语和字词,而片假名用于表示从其他语言借用的字词,如“computer”或“Internet”。Hiragana is used for native Japanese expressions and words, while katakana is used for words borrowed from other languages, such as "computer" or "Internet". 语音既可以用平假名也可以用片假名表示。A phonetic sound can be expressed in both hiragana and katakana. 如果选择该值,则认为一个语音的平假名字符等于同一语音的片假名字符。If this value is selected, the hiragana character for one sound is considered equal to the katakana character for the same sound.

IgnoreNonSpace IgnoreNonSpace IgnoreNonSpace IgnoreNonSpace 2

指定 SqlString 比较必须忽略非空格组合字符,比如音调符号。Specifies that SqlString comparisons must ignore nonspace combining characters, such as diacritics. Unicode 标准将组合字符定义为与基字符组合起来产生新字符的字符。The Unicode Standard defines combining characters as characters that are combined with base characters to produce a new character. 非空格组合字符在呈现时本身不占用字符空间。Non-space combining characters do not use character space by themselves when rendered. 有关非空格组合字符的更多信息,请参阅 https://www.unicode.org 上的 Unicode 标准。For more information about non-space combining characters, see the Unicode Standard at https://www.unicode.org.

IgnoreWidth IgnoreWidth IgnoreWidth IgnoreWidth 16

指定 SqlString 比较必须忽略字符宽度。Specifies that SqlString comparisons must ignore the character width. 例如,日语片假名字符可以写为全角或半角形式;如果选择该值,则认为写为全角形式的片假名字符等于写为半角形式的同一字符。For example, Japanese katakana characters can be written as full-width or half-width and, if this value is selected, the katakana characters written as full-width are considered equal to the same characters written in half-width.

None None None None 0

SqlString 比较指定默认选项设置。Specifies the default option settings for SqlString comparisons.

适用于