TextBox.GetCharacterIndexFromLineIndex(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定行中第一個字元的零為基礎的字元索引。
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
為取回初始字元索引的行的零基索引。
傳回
指定行中第一個字元的零為基礎索引。