語言

TextBox.GetLineLength(Int32) 方法

定義

回傳指定行的字元數。

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

參數

lineIndex
Int32

以零為基礎的行索引,用來回傳字元數。

傳回

指定行的字元數。

適用於

另請參閱