Edit

Share via


_NameSpace.CompareEntryIDs(String, String) Method

Definition

Returns a Boolean value (bool in C#) that indicates if two entry ID values refer to the same Outlook item.

public:
 bool CompareEntryIDs(System::String ^ FirstEntryID, System::String ^ SecondEntryID);
public bool CompareEntryIDs (string FirstEntryID, string SecondEntryID);
Public Function CompareEntryIDs (FirstEntryID As String, SecondEntryID As String) As Boolean

Parameters

FirstEntryID
String

The first entry ID to be compared.

SecondEntryID
String

The second entry ID to be compared.

Returns

True if the entry ID values refer to the same Outlook item; otherwise, False.

Remarks

Entry identifiers cannot be compared directly because one object can be represented by two different binary values. Use this method to determine whether two entry identifiers represent the same object.

Applies to