Compartir a través de


FieldLookup.AllowMultipleValues Property

Gets or sets a value that specifies whether the lookup field allows multiple values.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property AllowMultipleValues As Boolean
    Get
    Set
'Usage
Dim instance As FieldLookup
Dim value As Boolean

value = instance.AllowMultipleValues

instance.AllowMultipleValues = value
[RemoteAttribute]
public bool AllowMultipleValues { get; set; }

Property Value

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.

See Also

Reference

FieldLookup Class

FieldLookup Members

Microsoft.SharePoint.Client Namespace