Partager via


Subject Property

Subject 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.

The subject of the message.

Applies To

IMessage Interface

IWorkflowMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property Subject As String

[C++]HRESULT get_Subject(BSTRpVal);
HRESULT put_Subject(BSTR Val);

Parameters

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

Remarks

This property is also available as the urn:schemas:mailheader:subject field (subject Field) and as the urn:schemas:httpmail:subject field (subject Field).

The Subject property is required on news messages. If you do not set it before calling the Post Method, an error is returned.

The default value of Subject is an empty string.

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.