Version

GetItemFromItemsCollection Method (XamMenuBaseProxy)

Gets the item at the specified index of the items collection
Syntax
'Declaration
 
Protected Function GetItemFromItemsCollection( _
   ByVal oItemsCollection As System.Object, _
   ByVal itemIndex As System.Integer _
) As Infragistics.Controls.Menus.XamMenuItem
protected Infragistics.Controls.Menus.XamMenuItem GetItemFromItemsCollection( 
   System.object oItemsCollection,
   System.int itemIndex
)
protected: Infragistics.Controls.Menus.XamMenuItem* GetItemFromItemsCollection( 
   System.Object* oItemsCollection,
   System.int itemIndex
) 

Parameters

oItemsCollection
Collection of items which can be either ItemCollection or UIElementCollection
itemIndex
Index of the item in the items collection

Return Value

Returns the item present at the specified index of the items collection
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