Share via


SP.FieldMultiLineText.numberOfLines Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

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

var value = SP.FieldMultiLineText.get_numberOfLines(); 
SP.FieldMultiLineText.set_numberOfLines(value);

Property Value

Type: Int32

Applies To

SP.FieldMultiLineText Class

Exceptions

  • [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

SP.FieldMultiLineText Methods

SP.FieldMultiLineText Properties

SP Namespace