Share via


SPFieldLookup.UnlimitedLengthInDocumentLibrary property

Gets or sets a Boolean value that specifies whether to allow values with unlimited text in the lookup field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property UnlimitedLengthInDocumentLibrary As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldLookup
Dim value As Boolean

value = instance.UnlimitedLengthInDocumentLibrary

instance.UnlimitedLengthInDocumentLibrary = value
public bool UnlimitedLengthInDocumentLibrary { get; set; }

Property value

Type: System.Boolean
true to allow values with unlimited length; otherwise, false.

Remarks

Warning

Columns with long text are not supported by most applications for editing documents and could result in a loss of data. Only allow unlimited length if users will be uploading documents through the Web site, and not saving directly from the application.

See also

Reference

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace