_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)


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

void ClearAlwaysAssignCategories(
    Store Store



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


_Conversation Interface

_Conversation Members

Microsoft.Office.Interop.Outlook Namespace