JAMS Developer Guide
Find(MenuType,String,Server) Method


MVPSI.JAMS Namespace > BuildMenu Class > Find Method : Find(MenuType,String,Server) Method
JAMS Server to load from.
Finds menu entries that match the given menu type and name. This does not check access when building the menu.
Syntax
'Declaration
 
Public Overloads Shared Function Find( _
   ByVal menuType As MenuType, _
   ByVal menuName As System.String, _
   ByVal js 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 menuType,
   System.string menuName,
   Server js
)

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.
Requirements

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

See Also

Reference

BuildMenu Class
BuildMenu Members
Overload List