_Conversation.ClearAlwaysAssignCategories Method

Removes all categories from all items in the conversation and stops the action of always assigning categories to items in the conversation.

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

Syntax

'Declaration
<DispIdAttribute()> _
Sub ClearAlwaysAssignCategories ( _
    Store As Store _
)
'Usage
Dim instance As _Conversation
Dim Store As Store

instance.ClearAlwaysAssignCategories(Store)
[DispIdAttribute()]
void ClearAlwaysAssignCategories(
    Store Store
)

Parameters

Remarks

If the store specified by the Store parameter represents a non-delivery store such as an archive .pst store, the category removal action will apply to items of the conversation in the default delivery store.

After you apply the ClearAlwaysAssignCategories method on a conversation, the GetAlwaysAssignCategories(Store) method will return Nothing (a null reference (Nothing in Visual Basic) in C#) for that conversation. Categories on existing items are cleared, and no categories are assigned to new items in the conversation.

If the SetAlwaysAssignCategories(String, Store) method has not been applied to a conversation, ClearAlwaysAssignCategories does not remove any categories.

See Also

Reference

_Conversation Interface

_Conversation Members

Microsoft.Office.Interop.Outlook Namespace