MenuItemTemplate.PermissionMode Property

Sets or retrieves the mode of the Permissions property of the menu item.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property PermissionMode As PermissionMode
    Get
    Set
'Usage
Dim instance As MenuItemTemplate
Dim value As PermissionMode

value = instance.PermissionMode

instance.PermissionMode = value
public PermissionMode PermissionMode { get; set; }

Property Value

Type: Microsoft.SharePoint.Utilities.PermissionMode
A PermissionMode value that represents the permission mode: either "All" or "Any". The default is "All".

See Also

Reference

MenuItemTemplate Class

MenuItemTemplate Members

Microsoft.SharePoint.WebControls Namespace