Share via


FieldLookup.IsRelationship Property

Gets or sets a value that specifies whether this lookup field is returned by Microsoft.SharePoint.Client.List.GetRelatedField from the list being looked up to.

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 IsRelationship As Boolean
    Get
    Set
'Usage
Dim instance As FieldLookup
Dim value As Boolean

value = instance.IsRelationship

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

Property Value

Type: System.Boolean
Returns Booleantrue if this lookup field is returned by Microsoft.SharePoint.Client.List.GetRelatedField from the list being looked up to otherwise returns false. The default value is

Exceptions

Exception Condition
[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