SPFieldMultiLineText Class

The SPFieldMultiLineText class represents a text field that can contain multiple lines.

System.Object

   Microsoft.SharePoint.SPField

      Microsoft.SharePoint.SPFieldMultiLineText

Public Properties

The following table shows the public properties of the SPFieldMultiLineText class, the data type of each property, and a brief description of each.

Name Data Type Description
AllowHyperlink Boolean Gets or sets a Boolean value that specifies whether hyperlinks can be used in the field.
Filterable Boolean Gets a Boolean value that indicates whether the multiline text field can be filtered.
NumberOfLines Int32 Gets or sets the number of lines to display in the field.
RichText Boolean Gets or sets a Boolean value that specifies whether rich text formatting can be used in the field.
Sortable Boolean Gets a Boolean value that indicates whether the multiline text field can be sorted.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Remarks

Setting properties of the SPFieldMultiLineText class requires that the Update method be called for changes to take effect in the database.

Requirements

Namespace: Microsoft.SharePoint

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security