Share via


SPField.LinkToItemAllowed Property

Represents whether or not the LinkToItem must be shown, must be hidden, or can be turned on/off via the LinkToItem setting.

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

Syntax

'Declaration
Public Property LinkToItemAllowed As SPField.ListItemMenuState
    Get
    Set
'Usage
Dim instance As SPField
Dim value As SPField.ListItemMenuState

value = instance.LinkToItemAllowed

instance.LinkToItemAllowed = value
public SPField.ListItemMenuState LinkToItemAllowed { get; set; }

Property Value

Type: Microsoft.SharePoint.SPField.ListItemMenuState
Returns SPField.ListItemMenuState.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace