共用方式為


ToolStripTextBox.Lines 屬性

定義

取得或設定控制項中的 ToolStripTextBox 文字行。

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

屬性值

String[]

一個包含文字於文字框控制項中的字串陣列。

備註

陣列中的每個元素在文字框控制中會變成一行文字。 如果 Multiline 文字框控制項的屬性設定為 , true 且文字中出現換行字元,則該換行字元後的文字會被加入陣列中的新元素,並顯示在獨立行中。

適用於