EmailMessage.RootPart Property

When overriden in a derived class, the RootPart property gets the underlying MimePart for the message.

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

Syntax

'Declaration
Public ReadOnly Property RootPart As MimePart
    Get
'Usage
Dim instance As EmailMessage
Dim value As MimePart

value = instance.RootPart
public MimePart RootPart { get; }

Property Value

Type: Microsoft.Exchange.Data.Mime.MimePart
When overridden in a derived class, the RootPart property returns the underlying MimePart for the message or a null reference (Nothing in Visual Basic) for embedded Transport Neutral Encapsulation Format (TNEF) messages.