SPField.LinkToItem property

Gets or sets an indication of whether the field should show a link to the list item's display form when displayed in a list view.

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


Public Property LinkToItem As Boolean
Dim instance As SPField
Dim value As Boolean

value = instance.LinkToItem

instance.LinkToItem = value
public bool LinkToItem { get; set; }

Property value

Type: System.Boolean
true, if the link is visible; false, otherwise.


Attempts to set this property are ignored if LinkToItemAllowed is not set to Allowed.

If LinkToItemAllowed is set to ProhibitedLinkToItem is always false. If LinkToItemAllowed is set to RequiredLinkToItem, is always true.

See also


SPField class

SPField members

Microsoft.SharePoint namespace