SPField.LinkToItem 属性

获取或设置相对值的指示字段是否应显示列表项的显示表单时显示在列表视图的链接。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property LinkToItem As Boolean
    Get
    Set
用法
Dim instance As SPField
Dim value As Boolean

value = instance.LinkToItem

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

属性值

类型:System.Boolean
true,如果链接可见,则false,否则为。

备注

如果LinkToItemAllowed未设置为Allowed,试图设置该属性将被忽略。

如果LinkToItemAllowed设置为ProhibitedLinkToItem始终是false。如果LinkToItemAllowed设置为RequiredLinkToItem,始终是true。

另请参阅

引用

SPField 类

SPField 成员

Microsoft.SharePoint 命名空间