MapiNote.GetUnderlyingMessage
Contents
[
Hide
]MapiNote.GetUnderlyingMessage method
Retrieves the underlying MapiMessage object.
public MapiMessage GetUnderlyingMessage()
Return Value
The MapiMessage
object.
Examples
Retrieves the underlying MAPI message from a MapiNote object and prints out its message class.
[C#]
// Retrieve the underlying MAPI message from the MapiNote object
MapiMessage msg = mapiNote.GetUnderlyingMessage();
// Print out the message class of the MAPI message
// Will output "IPM.StickyNote"
Console.WriteLine(msg.MessageClass);
[Visual Basic]
' Retrieve the underlying MAPI message from the MapiNote object
Dim msg As MapiMessage = mapiNote.GetUnderlyingMessage()
' Print out the message class of the MAPI message
' Will output "IPM.StickyNote"
Console.WriteLine(msg.MessageClass)
See Also
- class MapiMessage
- class MapiNote
- namespace Aspose.Email.Mapi
- assembly Aspose.Email