Class MailMessageComparer
Compares two MAPI objects (messages, contacts, appointments) and reports the differences between them.
Inherited Members
Namespace: DRIT.Mail.Comparison
Assembly: DRIT.Mail.dll
Syntax
public class MailMessageComparer
Methods
View SourceCompare(MapiAppointment, MapiAppointment)
Compares two MapiAppointment instances and returns the differences.
Declaration
public MailMessageDifferences Compare(MapiAppointment a, MapiAppointment b)
Parameters
| Type | Name | Description |
|---|---|---|
| MapiAppointment | a | The first appointment to compare, or |
| MapiAppointment | b | The second appointment to compare, or |
Returns
| Type | Description |
|---|---|
| MailMessageDifferences | A MailMessageDifferences instance whose Differences list describes each mismatch. |
Compare(MapiContact, MapiContact)
Compares two MapiContact instances and returns the differences.
Declaration
public MailMessageDifferences Compare(MapiContact a, MapiContact b)
Parameters
| Type | Name | Description |
|---|---|---|
| MapiContact | a | The first contact to compare, or |
| MapiContact | b | The second contact to compare, or |
Returns
| Type | Description |
|---|---|
| MailMessageDifferences | A MailMessageDifferences instance whose Differences list describes each mismatch. |
Compare(MapiMessage, MapiMessage)
Compares two MapiMessage instances and returns the differences.
Declaration
public MailMessageDifferences Compare(MapiMessage a, MapiMessage b)
Parameters
| Type | Name | Description |
|---|---|---|
| MapiMessage | a | The first message to compare, or |
| MapiMessage | b | The second message to compare, or |
Returns
| Type | Description |
|---|---|
| MailMessageDifferences | A MailMessageDifferences instance whose Differences list describes each mismatch. |