Compartilhar via


_Conversation.GetAlwaysMoveToFolder Method

Returns a Folder object that indicates the folder in the specified delivery store to which new items that arrive in the conversation are always moved.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function GetAlwaysMoveToFolder ( _
    Store As Store _
) As MAPIFolder
'Usage
Dim instance As _Conversation
Dim Store As Store
Dim returnValue As MAPIFolder

returnValue = instance.GetAlwaysMoveToFolder(Store)
[DispIdAttribute()]
MAPIFolder GetAlwaysMoveToFolder(
    Store Store
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.MAPIFolder
A MAPIFolder object in the specified store to which all new items that arrive in the conversation are always moved.

Remarks

If the Store parameter represents a non-delivery store such as an archive .pst store, the GetAlwaysMoveToFolder method returns a Folder object that applies to conversation items on the default delivery store.

If no folder, other than the Deleted Items folder, has been specified to always move conversation items into, the GetAlwaysMoveToFolder method returns Nothing (a null reference (Nothing in Visual Basic) in C#).

See Also

Reference

_Conversation Interface

_Conversation Members

Microsoft.Office.Interop.Outlook Namespace