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)
Syntax
'Declaration
Public Property LinkToItem As Boolean
Get
Set
'Usage
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.
Remarks
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.