共用方式為


ContentControl.MultiLine Property

Gets or sets a value that specifies whether the ContentControl can contain line breaks.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Property MultiLine As Boolean
bool MultiLine { get; set; }

Property Value

Type: System.Boolean
true if the ContentControl can contain line breaks; otherwise, false. The default is false.

.NET Framework Security

See Also

Reference

ContentControl Interface

Microsoft.Office.Tools.Word Namespace