This documentation is archived and is not being maintained.

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)

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.
Show: