Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

SPFieldLookup.UnlimitedLengthInDocumentLibrary Property

Windows SharePoint Services 3

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)

public bool UnlimitedLengthInDocumentLibrary { get; set; }

Property Value

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

Caution noteCaution

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.

Community Additions

ADD
Show:
© 2015 Microsoft