Condividi tramite


FieldLookup.LookupList Property

Gets or sets a value that specifies the list identifier of the list that contains the field to use as the lookup 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 LookupList As String
    Get
    Set
'Usage
Dim instance As FieldLookup
Dim value As String

value = instance.LookupList

instance.LookupList = value
[RemoteAttribute]
public string LookupList { get; set; }

Property Value

Type: System.String
Returns a String instance representing the list identifier of the list that contains the field to use as the lookup values.

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Thrown when attempting to change the value after this property was previously set or the server does not allow properties of the field to be changed. Error code: -2146232832.

[System.NotSupportedException]

When the property is read and the list that this field belongs to is an external list. Error code: -1.

See Also

Reference

FieldLookup Class

FieldLookup Members

Microsoft.SharePoint.Client Namespace