UnicodeGeneralCategory 列挙型

定義

文字の Unicode 一般カテゴリを定義します。

public enum class UnicodeGeneralCategory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UnicodeGeneralCategory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UnicodeGeneralCategory
var value = Windows.Data.Text.UnicodeGeneralCategory.uppercaseLetter
Public Enum UnicodeGeneralCategory
継承
UnicodeGeneralCategory
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

フィールド

ClosePunctuation 21

かっこ、角かっこ、中かっこなどの区切り記号のペアの終了文字。 Unicode の表記では "Pe" (punctuation, close) で表されます。

ConnectorPunctuation 18

2 つの文字を接続するコネクタ区切り記号文字。 Unicode の表記では "Pc" (punctuation, connector) で表されます。

Control 14

Unicode 値が U+007F、U+0000 から U+001F の範囲、または U+0080 から U+009F の範囲に含まれる制御コード文字。 Unicode の表記では "Cc" (other, control) で表されます。

CurrencySymbol 26

通貨記号文字。 Unicode の表記では "Sc" (symbol, currency) で表されます。

DashPunctuation 19

ダッシュ文字またはハイフン文字。 Unicode の表記では "Pd" (punctuation, dash) で表されます。

DecimalDigitNumber 8

10 進数の文字。0 ~ 9 の範囲の文字です。 Unicode の表記 "Nd" (number, decimal digit) によって指定します。

EnclosingMark 7

囲み記号文字。基本文字まで (基本文字を含む) のすべての先行文字を囲む非スペーシング組み合わせ文字です。 Unicode の表記では "Me" (mark, enclosing) で表されます。

FinalQuotePunctuation 23

終了引用符文字または最後の引用符文字。 Unicode の表記では "Pf" (punctuation, final quote) で表されます。

Format 15

形式指定文字。テキストのレイアウトまたはテキスト処理の動作に影響を与えますが、通常は表示されません。 Unicode の表記では "Cf" (other, format) で表されます。

InitialQuotePunctuation 22

開始引用符文字または最初の引用符文字。 Unicode の表記では "Pi" (punctuation, initial quote) で表されます。

LetterNumber 9

10 進数ではなく、文字で表される数値。 たとえば、5 つのローマ数字は "V" です。 Unicode の表記では "Nl" (number, letter) で表されます。

LineSeparator 12

テキストの行を区切るために使用される文字。 Unicode の表記では "Zl" (separator, line) で表されます。

LowercaseLetter 1

小文字。 Unicode の表記では "Ll" (letter, lowercase) で表されます。

MathSymbol 25

数学記号文字 ("+" や "=" など)。 Unicode の表記では "Sm" (symbol, math) で表されます。

ModifierLetter 3

修飾子の文字。前の文字の変更を示す独立した間隔文字です。 Unicode の表記では "Lm" (letter, modifier) で表されます。

ModifierSymbol 27

修飾子記号文字。囲んでいる文字の修飾を示します。 たとえば、分数のスラッシュは、左側の数値が分子で、右側の数値が分母であることを示します。 Unicode の表記では "Sk" (symbol, modifier) で表されます。

NonspacingMark 5

基本文字の修飾を示す非スペース文字。 Unicode の指定 "Mn" (mark、nonspacing) で示されます。

NotAssigned 29

Unicode カテゴリに割り当てられていない文字。 Unicode コード指定 "Cn" (その他、割り当てなし) によって示されます。

OpenPunctuation 20

かっこ、角かっこ、中かっこなどの区切り記号のペアの開始文字。 Unicode の表記では "Ps" (punctuation, open) で表されます。

OtherLetter 4

大文字、小文字、タイトル文字、または修飾子文字以外の文字。 Unicode の表記では "Lo" (letter, other) で表されます。

OtherNumber 10

10 進数字でも文字番号でもない数値。 たとえば、分数は 1/2 です。 インジケーターは、Unicode の表記 "No" (number, other) によって指定します。

OtherPunctuation 24

区切り文字。コネクタ、ダッシュ、開始区切り、終了区切り、最初の引用、または最後の引用以外。 Unicode の表記では "Po" (punctuation, other) で表されます。

OtherSymbol 28

算術記号、通貨記号、または修飾子記号以外の記号文字。 Unicode の表記では "So" (symbol, other) で表されます。

ParagraphSeparator 13

段落を区切るために使用される文字。 Unicode の表記では "Zp" (separator, paragraph) で表されます。

PrivateUse 17

Unicode 値が U+E000 から U+F8FF の範囲に含まれるプライベート使用の文字。 Unicode の表記では "Co" (other, private use) で表されます。

SpaceSeparator 11

制御文字または形式指定文字以外のグリフのない空白文字。 Unicode の表記では "Zs" (separator, space) で表されます。

SpacingCombiningMark 6

基本文字の修飾を示し、その基本文字のグリフの幅に影響を与えるスペース文字。 Unicode の表記では "Mc" (mark, spacing combining) で表されます。

Surrogate 16

高サロゲート文字または低サロゲート文字。 サロゲート コード値は、U+D800 から U+DFFF の範囲です。 Unicode の表記では "Cs" (other, surrogate) で表されます。

TitlecaseLetter 2

タイトル文字。 Unicode の表記では "Lt" (letter, titlecase) で表されます。

UppercaseLetter 0

大文字。 Unicode の表記では "Lu" (letter, uppercase) で表されます。

注釈

この列挙体のメンバーは、 GetGeneralCategory によって返されます。 Unicode の一般的なカテゴリは、文字の広範な分類を定義します。つまり、文字の種類、小数点、区切り記号、数学記号、句読点などの指定です。 Unicode 標準付属書 #44 を参照してください。

この列挙体の値は、Microsoft .NET System.Globalization.UnicodeGeneralCategory 列挙と互換性があります。

適用対象

こちらもご覧ください