編輯

共用方式為


MaskedTextBox.Lines Property

Definition

Gets or sets the lines of text in multiline configurations. This property is not supported by MaskedTextBox.

public:
 property cli::array <System::String ^> ^ Lines { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.ComponentModel.Browsable(false)]
public string[] Lines { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Lines : string[] with get, set
Public Property Lines As String()

Property Value

String[]

An array of type String that contains a single line.

Attributes

Remarks

The Lines property is inherited from the base TextBoxBase class. However, because the MaskedTextBox control does not support multiline configuration, this property is not supported.

Applies to

See also