_Explorer.Selection Property

Definition

Returns a Selection object consisting of one or more items selected in the current view. Read-only.

public:
 property Microsoft::Office::Interop::Outlook::Selection ^ Selection { Microsoft::Office::Interop::Outlook::Selection ^ get(); };
public Microsoft.Office.Interop.Outlook.Selection Selection { get; }
Public ReadOnly Property Selection As Selection

Property Value

Remarks

If the current folder is a file-system folder, or if Microsoft Outlook Today or any folder with a Web view is currently displayed, this property returns an empty collection. Also if a group header is selected, the Count property on the selection returns zero.

Applies to