_Conversation.GetChildren Method

Returns a SimpleItems collection that contains all items under the specified conversation node.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function GetChildren ( _
    Item As Object _
) As SimpleItems
'Usage
Dim instance As _Conversation
Dim Item As Object
Dim returnValue As SimpleItems

returnValue = instance.GetChildren(Item)
[DispIdAttribute()]
SimpleItems GetChildren(
    Object Item
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.SimpleItems
A SimpleItems collection that represents the set of child items in the conversation under the node specified by the Item parameter.

Remarks

The returned SimpleItems collection contains immediate child items of the conversation node specified by the Item parameter. If the specified node does not exist in the conversation, the GetChildren method returns an error.

If no child items exist under that node, the GetChildren method returns a SimpleItems collection with zero objects, in which case the Count property of the SimpleItems collection returns 0.

See Also

Reference

_Conversation Interface

_Conversation Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get and Display Items in a Conversation