SPFieldComputed.EnableLookup Property

Gets or sets a Boolean value that specifies whether to allow lookup fields to display values from this computed field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property EnableLookup As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldComputed
Dim value As Boolean

value = instance.EnableLookup

instance.EnableLookup = value
[ClientCallableAttribute]
public bool EnableLookup { get; set; }

Property Value

Type: System.Boolean
true to allow lookup fields to display values from this computed field; otherwise, false.

See Also

Reference

SPFieldComputed Class

SPFieldComputed Members

Microsoft.SharePoint Namespace