次の方法で共有


_ConversationHeader.GetItems Method

Obtains a SimpleItems collection that contains all of the items in the conversation that reside in the same folder as the selected conversation header.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function GetItems As SimpleItems
'Usage
Dim instance As _ConversationHeader
Dim returnValue As SimpleItems

returnValue = instance.GetItems()
[DispIdAttribute()]
SimpleItems GetItems()

Return Value

Type: Microsoft.Office.Interop.Outlook.SimpleItems
Returns a SimpleItems collection of items that belong to the same conversation and reside in the same folder as the conversation header.

Remarks

The SimpleItems collection only contains conversation items in the folder that contains the conversation header. The SimpleItems collection does not return cross-folder conversation items. If you must access cross-folder content, use the Conversationobject.If no conversation items exist in the same folder as the conversation header, GetItems returns a SimpleItems collection with the Count property equal to 0.

See Also

Reference

_ConversationHeader Interface

_ConversationHeader Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get and Enumerate Selected Conversations