MaskedTextBox.GetFirstCharIndexFromLine(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the index of the first character of a given line. This method is not supported by MaskedTextBox.
public:
int GetFirstCharIndexFromLine(int lineNumber);
public int GetFirstCharIndexFromLine (int lineNumber);
override this.GetFirstCharIndexFromLine : int -> int
Public Function GetFirstCharIndexFromLine (lineNumber As Integer) As Integer
Parameters
- lineNumber
- Int32
This parameter is not used.
Returns
This method will always return 0.
Remarks
The GetFirstCharIndexFromLine method is inherited from the base TextBoxBase class. However, because the MaskedTextBox control does not support multiline configuration, this method is not supported.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.