Share via


PromptOptions Class

Definition

PromptOptions<TResult> for common user prompt scenarios.

public abstract class PromptOptions : IEquatable<Microsoft.VisualStudio.Extensibility.Shell.PromptOptions>
type PromptOptions = class
    interface IEquatable<PromptOptions>
Public MustInherit Class PromptOptions
Implements IEquatable(Of PromptOptions)
Inheritance
PromptOptions
Derived
Implements

Constructors

PromptOptions()
PromptOptions(PromptOptions)

Properties

EqualityContract
OK

Gets options defining a prompt with an "OK" choice. The prompt returns true when the user selects "OK" or false if the user dismisses the prompt.

OKCancel

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.

RetryCancel

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

Methods

<Clone>$()
Equals(Object)
Equals(PromptOptions)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Equality(PromptOptions, PromptOptions)
Inequality(PromptOptions, PromptOptions)

Applies to