EmailMessage.MessageId Property

The MessageId property gets or sets the value of the Message-ID header for the message.

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

Syntax

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

value = instance.MessageId

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

Property Value

Type: System.String