FieldMultiLineText.NumberOfLines - Propriété
Gets or sets a value that specifies the number of lines of text to display for the field.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property NumberOfLines As Integer
Get
Set
'Utilisation
Dim instance As FieldMultiLineText
Dim value As Integer
value = instance.NumberOfLines
instance.NumberOfLines = value
public int NumberOfLines { get; set; }
Valeur de propriété
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. |
Remarques
Its value must be equal to or greater than 1. Its value must be equal to or less than 1000.