Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 2.04 KB

Outlook.Conversation.GetAlwaysAssignCategories.md

File metadata and controls

55 lines (30 loc) · 2.04 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Conversation.GetAlwaysAssignCategories method (Outlook)
vbaol11.chm3439
vbaol11.chm3439
Outlook.Conversation.GetAlwaysAssignCategories
d09ae8ff-b725-cc09-9408-7b9039ee129f
06/08/2017
medium

Conversation.GetAlwaysAssignCategories method (Outlook)

Returns a String that indicates the category or categories that are assigned to all new items that arrive in the conversation.

Syntax

expression. GetAlwaysAssignCategories( _Store_ )

expression A variable that represents a 'Conversation' object.

Parameters

Name Required/Optional Data type Description
Store Required Store Specifies the store to which categories of items that belong to the conversation should be returned.

Return value

A String that contains one or more categories that are assigned to items in the conversation.

Remarks

Multiple categories are delimited by commas in the string of category names that this property returns. To convert the string of category names to an array of category names, use the Microsoft Visual Basic Split function.

If the store specified by the Store parameter represents a non-delivery store such as an archive .pst store, the method returns a string of categories that are applied to conversation items in the default delivery store.

If the SetAlwaysAssignCategories method has not been applied to a conversation, GetAlwaysAssignCategories returns Null (Nothing in Visual Basic).

To stop the action of always assigning categories, use the ClearAlwaysAssignCategories method. After the ClearAlwaysAssignCategories method has been called, GetAlwaysAssignCategories returns an empty string.

See also

Conversation Object

[!includeSupport and feedback]