System.Windows.Forms.MaskedTextBox.GetLineFromCharIndex Method

Retrieves the line number from the specified character position within the text of the control. This method is not supported by System.Windows.Forms.MaskedTextBox.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public override int GetLineFromCharIndex (int index)

Parameters

index
This parameter is not used.

Returns

This method will always return 0.

Remarks

The MaskedTextBox.GetLineFromCharIndex(int) method is inherited from the base System.Windows.Forms.TextBoxBase class. However, because the System.Windows.Forms.MaskedTextBox control does not support multiline configuration, this method is not supported.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0