言語

TextBox.GetNextSpellingErrorCharacterIndex(Int32, LogicalDirection) メソッド

定義

テキスト ボックスの内容の次のスペル ミスの開始文字インデックスを返します。

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。

適用対象

こちらもご覧ください