Share via


SPField.LinkToItemAllowed property

Gets or sets an indication of whether the field, in List View, can show a link to the list item's display form.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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
An indication of the visibility possibilities of the link to the display form. The default is Allowed.

Remarks

If the list or column is external, this property is always Allowed.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace