Share via


EmailMessage.Subject property

The Subject property gets or sets the subject of the message.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property Subject As String
    Get
    Set
'Usage
Dim instance As EmailMessage
Dim value As String

value = instance.Subject

instance.Subject = value
public string Subject { get; set; }

Property value

Type: System.String

See also

Reference

EmailMessage class

EmailMessage members

Microsoft.Exchange.Data.Transport.Email namespace