語言

MaskedTextBox.GetLineFromCharIndex(Int32) 方法

定義

從控制項文字中指定字元位置取得行號。 此方法不支援。MaskedTextBox

public:
 override int GetLineFromCharIndex(int index);
public override int GetLineFromCharIndex(int index);
override this.GetLineFromCharIndex : int -> int
Public Overrides Function GetLineFromCharIndex (index As Integer) As Integer

參數

index
Int32

不使用這個參數。

傳回

此方法總是回傳 0。

備註

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

適用於

另請參閱