FieldMultiLineText.NumberOfLines 属性

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Property NumberOfLines As Integer
    Get
    Set
用法
Dim instance As FieldMultiLineText
Dim value As Integer

value = instance.NumberOfLines

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

属性值

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

异常

异常 条件
[Microsoft.SharePoint.SPException]

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

备注

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

另请参阅

引用

FieldMultiLineText 类

FieldMultiLineText 成员

Microsoft.SharePoint.Client 命名空间