FieldMultiLineText.NumberOfLines property

Gets or sets a value that specifies the number of lines of text to display for the field.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property NumberOfLines As Integer
    Get
    Set
'Usage
Dim instance As FieldMultiLineText
Dim value As Integer

value = instance.NumberOfLines

instance.NumberOfLines = value
public int NumberOfLines { get; set; }

Property value

Type: System.Int32
Returns a Int32 instance representing the number of lines of text to display for the field.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

The server does not allow properties of the field to be changed. Error code: -2146232832.

Remarks

Its value must be equal to or greater than 1. Its value must be equal to or less than 1000.

See also

Reference

FieldMultiLineText class

FieldMultiLineText members

Microsoft.SharePoint.Client namespace