SPField.ListItemMenu property
取得或設定指示欄位是否應該顯示清單項目下拉式清單功能表時顯示在清單檢視中的連結。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ListItemMenu As Boolean
Get
Set
'用途
Dim instance As SPField
Dim value As Boolean
value = instance.ListItemMenu
instance.ListItemMenu = value
public bool ListItemMenu { get; set; }
Property value
Type: System.Boolean
true,如果連結是可見的。false,否則。
備註
如果ListItemMenuAllowed不設為Allowed,則會忽略設定此屬性嘗試。
如果ListItemMenuAllowed設為Prohibited, ListItemMenu一律為false。如果ListItemMenuAllowed設為Required, ListItemMenu一律為true。