Version

GetNavigationTargetRecord Method

Returns the target of a record navigation from the specified currentRecord in the specified navigationDirection
Syntax
'Declaration
 
Function GetNavigationTargetRecord( _
   ByVal currentRecord As Record, _
   ByVal navigationDirection As PanelNavigationDirection, _
   ByVal selectionHost As ISelectionHost, _
   ByVal shiftKeyDown As Boolean, _
   ByVal ctlKeyDown As Boolean, _
   ByVal siblingNavigationStyle As PanelSiblingNavigationStyle, _
   ByVal restrictToRecordType As Type _
) As Record

Parameters

currentRecord
The starting record for the navigation
navigationDirection
The direction in which to navigate
selectionHost
A reference to the current selection host.
shiftKeyDown
True if the shift key is down
ctlKeyDown
True if the ctl key is down
siblingNavigationStyle
Enumeration that specified how to deal with navigation among sibling records
restrictToRecordType
The Record or Record-derived type used to restrict the return record to a particular type

Return Value

The record that is the target of the navigation
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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