Selection.GetSelection Method (Outlook)
Returns a Selection object that contains the kind of objects specified by the SelectionContents parameter, and that are currently selected in the active explorer.
expression A variable that represents a Selection object.
Specifies the kind of objects in the selection to return.
A Selection object that contains the specified kind of objects that are selected in the active explorer.
Calling GetSelection with olConversationHeaders as the argument returns a Selection object that has the Location property equal to OlSelectionLocation.olViewList.
If the current view is not a conversation view, or, if Selection.Location is not equal to OlSelectionLocation.olViewList, calling GetSelection with olConversationHeaders as the argument returns a Selection object with Selection.Count equal to 0.