CADability dotNET
Returns the MenuItem with the given ID

Namespace: CADability.UserInterface
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static MenuItemWithID FindItem(
	Menu toSearchIn,
	string ID
)
Visual Basic
Public Shared Function FindItem ( _
	toSearchIn As Menu, _
	ID As String _
) As MenuItemWithID
Visual C++
public:
static MenuItemWithID^ FindItem(
	Menu^ toSearchIn, 
	String^ ID
)

Parameters

toSearchIn
Type: System.Windows.Forms..::..Menu
Menu to search in
ID
Type: System..::..String
ID of the requested item

Return Value

the requested item if found, null otherwise

See Also