MaskedTextBox.GetFirstCharIndexFromLine(Int32) Method

Definition

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