_Conversation.ClearAlwaysAssignCategories(Store) Method

Definition

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

public:
 void ClearAlwaysAssignCategories(Microsoft::Office::Interop::Outlook::Store ^ Store);
public void ClearAlwaysAssignCategories (Microsoft.Office.Interop.Outlook.Store Store);

Parameters

Store
Store

A Store object that represents the store from which categories of items that belong to the conversation should be removed.

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.

Applies to