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


MVPSI.JAMS Namespace > BuildMenu Class > Find Method : Find(MenuType,String,Boolean,Server) Method
When true, only entries that the caller has Submit access to are returned.
JAMS Server to load from.
Finds menu entries that match the given menu type and name.
Syntax
'Declaration
 
Public Overloads Shared Function Find( _
   ByVal menuType As MenuType, _
   ByVal menuName As System.String, _
   ByVal checkAccess As System.Boolean, _
   ByVal js 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 menuType,
   System.string menuName,
   System.bool checkAccess,
   Server js
)

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