Version

GetItemCollectionCount Method (XamRibbonProxy)

Gets the total number of items in the items collection
Syntax
'Declaration
 
Protected Function GetItemCollectionCount( _
   ByVal oItemsCollection As System.Object _
) As System.Integer
protected System.int GetItemCollectionCount( 
   System.object oItemsCollection
)
protected: System.int GetItemCollectionCount( 
   System.Object* oItemsCollection
) 

Parameters

oItemsCollection
Collection of items which can be either ItemCollection or ObservableCollectionExtended or RibbonGroupCollection or ContextualTabGroupCollection or ObservableCollection(RibbonTabItem)

Return Value

Returns the total number of items in 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