Version

GetItemFromItemsCollection Method (XamRibbonProxy)

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

Parameters

oItemsCollection
Collection of items which can be either ItemCollection or ObservableCollectionExtended or RibbonGroupCollection or ContextualTabGroupCollection or ObservableCollection(RibbonTabItem)
iItemIndex
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