Partager via


Selection Interface

Contains the set of Outlook items currently selected in an explorer.

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

Syntax

'Declaration
<TypeLibTypeAttribute()> _
<DefaultMemberAttribute("Item")> _
<GuidAttribute("00063087-0000-0000-C000-000000000046")> _
Public Interface Selection _
    Inherits IEnumerable
'Usage
Dim instance As Selection
[TypeLibTypeAttribute()]
[DefaultMemberAttribute("Item")]
[GuidAttribute("00063087-0000-0000-C000-000000000046")]
public interface Selection : IEnumerable

Remarks

Use the Selection property to return the Selection collection from the Explorer object.

See Also

Reference

Selection Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get and Enumerate Selected Conversations