Version

RetrieveChildItemOfMenu<T> Method

Retrieves the child menu item from the parent menu which is either at the specified index of the parent or matches the specified header of the child
Syntax
'Declaration
 
Protected Function RetrieveChildItemOfMenu(Of T)( _
   ByVal owningMenu As T, _
   ByVal sItemHeader As System.String, _
   ByVal iItemIndex As System.Integer _
) As System.Object
protected System.object RetrieveChildItemOfMenu<T>( 
   T owningMenu,
   System.string sItemHeader,
   System.int iItemIndex
)
protected: System.Object* RetrieveChildItemOfMenu<T>( 
   T* owningMenu,
   System.string* sItemHeader,
   System.int iItemIndex
) 

Parameters

owningMenu
Parent menu
sItemHeader
Header (if any) of the child menu item
iItemIndex
Visible index (if needed) of the child menu item

Type Parameters

T

Return Value

Returns the child menu item either matching the header or present at the specified index of the parent menu
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