Compartir a través de


EmailMessage.IsInterpersonalMessage Property

When overridden in a derived class, the IsInterpersonalMessage property gets a value that indicates whether the message is an interpersonal message.

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

Syntax

'Declaration
Public ReadOnly Property IsInterpersonalMessage As Boolean
    Get
'Usage
Dim instance As EmailMessage
Dim value As Boolean

value = instance.IsInterpersonalMessage
public bool IsInterpersonalMessage { get; }

Property Value

Type: System.Boolean
When overridden in a derived class, the IsInterpersonalMessage property returns true if the message is interpersonal; otherwise, it return false.

Remarks

The IsInterpersonalMessage property will return true only when the message that is represented by this instance of the EmailMessage class is a standard e-mail message that contains a single RTF/HTML/plaintext body or a multipart/alternative set of bodies. This means that not all messages from one person to another will return true for the IsInterpersonalMessage property. For example, an instance of the EmailMessage class that represents a message that is using Information Rights Management (IRM) will return false from the IsInterpersonalMessage property, even though the message is sent from one person to another. Likewise, an instance of the EmailMessage class that represents an encrypted message will also return false for the IsInterpersonalMessage property.