Finds menu entries that match the given menu type and name.
'Declaration
Public Overloads Shared Function Find( _
ByVal As MenuType, _
ByVal As System.String, _
ByVal As System.Boolean, _
ByVal As Server _
) As System.Collections.Generic.ICollection(Of MenuEntry)
'Usage
Dim menuType As MenuType
Dim menuName As System.String
Dim checkAccess As System.Boolean
Dim js As Server
Dim value As System.Collections.Generic.ICollection(Of MenuEntry)
value = BuildMenu.Find(menuType, menuName, checkAccess, js)
public static System.Collections.Generic.ICollection<MenuEntry> Find(
MenuType ,
System.string ,
System.bool ,
Server
)
Parameters
- menuType
- The menu type.
- menuName
- The menu name (wildcards are allowed).
- checkAccess
- When true, only entries that the caller has Submit access to are returned.
- js
- JAMS Server to load from.
Return Value
A BuildMenu collection of menu line-items.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2