Partager via


Keywords Property

Keywords Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

A list of keywords for this message.

Applies To

IMessage Interface

IWorkflowMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property Keywords As String

[C++]HRESULT get_Keywords(BSTRpVal);
HRESULT put_Keywords(BSTR Val);

Parameters

  • pVal
    Returns the value of the Keywords property as a reference to a BSTR.
  • Val
    Sets the value of the Keywords property to the value of the BSTR.

Remarks

This property is also available as the keywords Field.

A message's keywords can be useful in determining if the message is of interest to the reader, or in searching for relevant messages in a collection.

The string in the Keywords property can represent a single keyword or multiple keywords. A keyword string can optionally contain spaces:

"1997 payroll"

Multiple keywords in the list are separated by commas:

operating systems, Windows NT, functions

Because the comma is this field's delimiter, a keyword cannot contain a comma. Attempting to add a keyword containing a comma will result in two keywords, separated by the comma.

The selection of keywords is at the discretion of the messaging users that post and read the message.

The default value of Keywords is an empty string.

See Also

keywords Field

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.