_Conversation.GetParent(Object) Method

Definition

Returns the parent item of the specified node in the conversation.

public:
 System::Object ^ GetParent(System::Object ^ Item);
public object GetParent (object Item);
Public Function GetParent (Item As Object) As Object

Parameters

Item
Object

A conversation node that is part of a conversation.

Returns

An Object (object in C#) that represents the parent conversation item of the node specified by the Item parameter.

Remarks

If the node specified by the Item parameter does not exist in the conversation, the GetParent method returns an error.

If the node specified by the Item parameter does not have a parent item in the conversation, the GetParent method returns Nothing (a null reference (Nothing in Visual Basic) in C#).

Applies to