Compartir a través de


ExplorerEvents_10_Event.SelectionChange Event

Occurs when the user switches to a different item in a folder using the user interface (UI) or programmatically.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event SelectionChange As ExplorerEvents_10_SelectionChangeEventHandler
'Usage
Dim instance As ExplorerEvents_10_Event
Dim handler As ExplorerEvents_10_SelectionChangeEventHandler

AddHandler instance.SelectionChange, handler
event ExplorerEvents_10_SelectionChangeEventHandler SelectionChange

Remarks

This event also occurs when the user, either programmatically or using the user inerface, clicks or switches to a different folder that contains items as Outlook automatically selects the first item in that folder. However, this event does not occur if the folder is a file-system folder or if any folder with a current Web view is displayed.

See Also

Reference

ExplorerEvents_10_Event Interface

ExplorerEvents_10_Event Members

Microsoft.Office.Interop.Outlook Namespace