MaskedTextBox.GetFirstCharIndexFromLine(Int32) 方法

定義

擷取指定行第一個字元的索引。 MaskedTextBox 不支援這個方法。

public:
 int GetFirstCharIndexFromLine(int lineNumber);
public int GetFirstCharIndexFromLine (int lineNumber);
override this.GetFirstCharIndexFromLine : int -> int
Public Function GetFirstCharIndexFromLine (lineNumber As Integer) As Integer

參數

lineNumber
Int32

不使用這個參數。

傳回

Int32

這個方法一定會傳回 0。

備註

方法 GetFirstCharIndexFromLine 繼承自基 TextBoxBase 類。 不過,因為 MaskedTextBox 控制項不支援多行組態,所以不支援這個方法。

適用於

另請參閱