The buttons parameter is incorrect for the following method: XDocument.UI.Confirm(prompt,buttons). The parameter must be ...

The buttons parameter is incorrect for the following method: XDocument.UI.Confirm(prompt,buttons). The parameter must be one of the following values: 1 (displays the OK and Cancel buttons), 3 (displays the Yes, No, and Cancel buttons), or 4 (displays the Yes and No buttons).
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Français (France)
French (France)
日本語
Japanese
한국어
Korean
Русский
Russian