TextBox.GetNextSpellingErrorCharacterIndex(Int32, LogicalDirection) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テキスト ボックスの内容の次のスペル ミスの開始文字インデックスを返します。
public:
int GetNextSpellingErrorCharacterIndex(int charIndex, System::Windows::Documents::LogicalDirection direction);
public int GetNextSpellingErrorCharacterIndex(int charIndex, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorCharacterIndex : int * System.Windows.Documents.LogicalDirection -> int
Public Function GetNextSpellingErrorCharacterIndex (charIndex As Integer, direction As LogicalDirection) As Integer
パラメーター
- charIndex
- Int32
次のスペル ミスを検索する位置を示す 0 から始まる文字インデックス。
- direction
- LogicalDirection
指定したLogicalDirectionから始まる、次のスペル ミスを検索する方向を指定するcharIndex値の 1 つ。
返品
テキスト ボックスの内容の次のスペル ミスの先頭の文字インデックス。次のスペル エラーが存在しない場合は -1。