Version

AreGroupsDuplicates Method

Checks if the referenceGroup is a duplicate of the currentGroup
Syntax
'Declaration
 
Protected Function AreGroupsDuplicates( _
   ByVal currentGroup As Infragistics.Windows.OutlookBar.OutlookBarGroup, _
   ByVal referenceGroup As Infragistics.Windows.OutlookBar.OutlookBarGroup, _
   ByRef duplicateGroups As System.Collections.Hashtable _
) As System.Boolean
protected System.bool AreGroupsDuplicates( 
   Infragistics.Windows.OutlookBar.OutlookBarGroup currentGroup,
   Infragistics.Windows.OutlookBar.OutlookBarGroup referenceGroup,
   ref System.Collections.Hashtable duplicateGroups
)
protected: System.bool AreGroupsDuplicates( 
   Infragistics.Windows.OutlookBar.OutlookBarGroup* currentGroup,
   Infragistics.Windows.OutlookBar.OutlookBarGroup* referenceGroup,
   ref System.Collections.Hashtable* duplicateGroups
) 

Parameters

currentGroup
Currently selected group of the OutlookBar with which the "referenceGroup" will be compared
referenceGroup
Group obtained on each iteration of the groups collection of the OutlookBar
duplicateGroups
Hashtable containing group headers found in the previous iterations of the groups collection of the outlookBar. If a group header same as referenceGroup's header already exists in this hashtable, then "referenceGroup" is a duplicate

Return Value

true if referenceGroup is a duplicate of the currentGroup
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