MaskedTextBox.GetFirstCharIndexOfCurrentLine 方法

定义

检索当前行的第一个字符的索引。 此方法不受支持 MaskedTextBox

public:
 int GetFirstCharIndexOfCurrentLine();
public int GetFirstCharIndexOfCurrentLine();
override this.GetFirstCharIndexOfCurrentLine : unit -> int
Public Function GetFirstCharIndexOfCurrentLine () As Integer

返回

此方法将始终返回 0。

注解

该方法 GetFirstCharIndexOfCurrentLine 继承自基 TextBoxBase 类。 但是,由于 MaskedTextBox 控件不支持多行配置,因此不支持此方法。

适用于

另请参阅