Class JoyoKanjiDiagnosticItem

Namespace
KanjiVariants
Assembly
KanjiVariants.dll

入力中の一論理単位についての常用漢字診断結果。

public sealed class JoyoKanjiDiagnosticItem
Inheritance
JoyoKanjiDiagnosticItem
Inherited Members

Properties

IsJoyoKanji

常用漢字表の本表字そのものの場合だけtrue。漢字以外もfalseです。

public bool IsJoyoKanji { get; }

Property Value

bool

Original

元の文字列。直後のVSと不正UTF-16も保持し、正規化や異体字変換を行いません。

public string Original { get; }

Property Value

string

Reason

本表字・非常用漢字・漢字以外・不正UTF-16の判定理由。

public JoyoKanjiDiagnosticReason Reason { get; }

Property Value

JoyoKanjiDiagnosticReason

Utf16Index

入力文字列内の0始まりUTF-16コード単位位置。

public int Utf16Index { get; }

Property Value

int

Utf16Length

この項目のUTF-16コード単位数。Original.Lengthと一致します。

public int Utf16Length { get; }

Property Value

int