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


MVPSI.JAMS Namespace > BuildMenu Class > Find Method : Find(MenuType,Int32,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 menuObjectId As System.Integer, _
   ByVal checkAccess As System.Boolean, _
   ByVal js As Server _
) As System.Collections.Generic.ICollection(Of MenuEntry)
'Usage
 
Dim menuType As MenuType
Dim menuObjectId As System.Integer
Dim checkAccess As System.Boolean
Dim js As Server
Dim value As System.Collections.Generic.ICollection(Of MenuEntry)
 
value = BuildMenu.Find(menuType, menuObjectId, checkAccess, js)
public static System.Collections.Generic.ICollection<MenuEntry> Find( 
   MenuType menuType,
   System.int menuObjectId,
   System.bool checkAccess,
   Server js
)

Parameters

menuType
The menu type.
menuObjectId
The menu object ID
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