Finds menu entries that match the given menu type and name. This does not check access when building the menu.
'Declaration
Public Overloads Shared Function Find( _
ByVal As MenuType, _
ByVal As System.String, _
ByVal As Server _
) As System.Collections.Generic.ICollection(Of MenuEntry)
'Usage
Dim menuType As MenuType
Dim menuName As System.String
Dim js As Server
Dim value As System.Collections.Generic.ICollection(Of MenuEntry)
value = BuildMenu.Find(menuType, menuName, js)
public static System.Collections.Generic.ICollection<MenuEntry> Find(
MenuType ,
System.string ,
Server
)
Parameters
- menuType
- The menu type.
- menuName
- The menu name (wildcards are allowed).
- 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