FieldLookup.AllowMultipleValues - Propriété
Gets or sets a value that specifies whether the lookup field allows multiple values.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Property AllowMultipleValues As Boolean
Get
Set
'Utilisation
Dim instance As FieldLookup
Dim value As Boolean
value = instance.AllowMultipleValues
instance.AllowMultipleValues = value
public bool AllowMultipleValues { get; set; }
Valeur de propriété
Type : System.Boolean
Returns Booleantrue if the lookup field allows multiple values otherwise returns false. The default value is
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | The server does not allow properties of the field to be changed. Error code: -2146232832. |
Remarques
You cannot set a deletion constraint on a lookup field that allows multiple values.