語言

TextBox.GetCharacterIndexFromLineIndex(Int32) 方法

定義

回傳指定行中第一個字元的零為基礎的字元索引。

public:
 int GetCharacterIndexFromLineIndex(int lineIndex);
public int GetCharacterIndexFromLineIndex(int lineIndex);
member this.GetCharacterIndexFromLineIndex : int -> int
Public Function GetCharacterIndexFromLineIndex (lineIndex As Integer) As Integer

參數

lineIndex
Int32

為取回初始字元索引的行的零基索引。

傳回

指定行中第一個字元的零為基礎索引。

適用於

另請參閱