ToolStripTextBox.Lines 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定控制項中的 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 且文字中出現換行字元,則該換行字元後的文字會被加入陣列中的新元素,並顯示在獨立行中。