語言

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

不使用這個參數。

傳回

此方法總是回傳 0。

備註

此 GetFirstCharIndexFromLine 方法繼承自基底 TextBoxBase 類別。 然而,由於控制 MaskedTextBox 項不支援多線配置,此方法不被支援。

適用於

另請參閱