XdConfirmChoice enumeration

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

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.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.