XdConfirmChoice enumeration

Office 2013 and later

The XdConfirmChoice enumeration is used to determine which button is clicked in a message box.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

public enum XdConfirmChoice

Member nameDescription
xdOKThe OK button was clicked.
xdCancelThe Cancel button was clicked.
xdYesThe Yes button was clicked.
xdNoThe No button was clicked.

These enumerated values are used by the Confirm method of the UIObject object.