_NameSpace.CompareEntryIDs Method
Returns a Boolean value (bool in C#) that indicates if two entry ID values refer to the same Outlook item.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Function CompareEntryIDs ( _
FirstEntryID As String, _
SecondEntryID As String _
) As Boolean
'Usage
Dim instance As _NameSpace
Dim FirstEntryID As String
Dim SecondEntryID As String
Dim returnValue As Boolean
returnValue = instance.CompareEntryIDs(FirstEntryID, _
SecondEntryID)
[DispIdAttribute()]
bool CompareEntryIDs(
string FirstEntryID,
string SecondEntryID
)
Parameters
FirstEntryID
Type: System.StringThe first entry ID to be compared.
SecondEntryID
Type: System.StringThe second entry ID to be compared.
Return Value
Type: System.Boolean
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.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace