Conflicts Property
Return the Conflicts object that represents the items that are in conflict for any Microsoft Outlook item object. Read-only.
expression.Conflicts
expression Required. An expression that returns one of the objects in the Applies To list.
Example
The following Microsoft Visual Basic for Applications (VBA) example uses the Count property of the Conflicts object to determine if the item is involved in any conflict. To run this example, make sure a mail item is open in the active window.
Sub CheckConflicts()
Dim myOlApp As Outlook.Application
Dim myItem As Outlook.MailItem
Dim myConflicts As Outlook.Conflicts
Set myOlApp = CreateObject("Outlook.Application")
Set myItem = myOlApp.ActiveInspector.CurrentItem
Set myConflicts = myItem.Conflicts
If (myConflicts.Count > 0) Then
MsgBox ("This item is involved in a conflict.")
Else
MsgBox ("This item is not involved in any conflicts.")
End If
End Sub