Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPFieldLookup.AllowMultipleValues property

Gets or sets a Boolean value that specifies whether multiple values can be used in the lookup field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ClientCallableAttribute]
public virtual bool AllowMultipleValues { get; set; }

Property value

Type: System.Boolean
true to specify that multiple values can be used in the field; otherwise, false. The default is false.

You cannot set a deletion constraint on a lookup field that allows multiple values.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.