Version

GotSelectedGroupValues Method

Checks if "referenceGroup" at "dReferenceGroupIndex" of the groups collection of the OutlookBar is the same as the currently selected group by comparing its header value and checking referenceGroup's isSelected property ( needed for duplicate groups with same header values). If this "referenceGroup" is the actual selected group, then retrieve its header and index values
Syntax
'Declaration
 
Protected Function GotSelectedGroupValues( _
   ByVal currentGroup As Infragistics.Windows.OutlookBar.OutlookBarGroup, _
   ByVal referenceGroup As Infragistics.Windows.OutlookBar.OutlookBarGroup, _
   ByVal dReferenceGroupIndex As System.Double, _
   ByRef sSelectedGroupHeader As System.String, _
   ByRef dSelectedGroupIndex As System.Double _
) As System.Boolean
protected System.bool GotSelectedGroupValues( 
   Infragistics.Windows.OutlookBar.OutlookBarGroup currentGroup,
   Infragistics.Windows.OutlookBar.OutlookBarGroup referenceGroup,
   System.double dReferenceGroupIndex,
   ref System.string sSelectedGroupHeader,
   ref System.double dSelectedGroupIndex
)
protected: System.bool GotSelectedGroupValues( 
   Infragistics.Windows.OutlookBar.OutlookBarGroup* currentGroup,
   Infragistics.Windows.OutlookBar.OutlookBarGroup* referenceGroup,
   System.double dReferenceGroupIndex,
   ref System.string* sSelectedGroupHeader,
   ref System.double dSelectedGroupIndex
) 

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
dReferenceGroupIndex
Index of the "referenceGroup" in the groups collection of the OutlookBar
sSelectedGroupHeader
Header value of the "referenceGroup", if "referenceGroup" is the actual selected group
dSelectedGroupIndex
Index value of the "referenceGroup", if "referenceGroup" is the actual selected group

Return Value

true if the actual selected group is found
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