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