Compartilhar via


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property NumberOfLines As Integer
    Get
    Set
'Usage
Dim instance As FieldMultiLineText
Dim value As Integer

value = instance.NumberOfLines

instance.NumberOfLines = value
[RemoteAttribute]
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