Share via


PromptOptions.OKCancel Property

Definition

Gets options defining a prompt with "OK" and "Cancel" choices. The default option is "OK". The prompt returns true if the user selects "OK", or false if the user either selects "Cancel" or dissmisses the prompt.

public static Microsoft.VisualStudio.Extensibility.Shell.Prompt.PromptOptionsWithCancel<bool> OKCancel { get; }
static member OKCancel : Microsoft.VisualStudio.Extensibility.Shell.Prompt.PromptOptionsWithCancel<bool>
Public Shared ReadOnly Property OKCancel As PromptOptionsWithCancel(Of Boolean)

Property Value

Applies to