DialogResult Class
Dialog result values. These match Windows buttons IDs (IDOK, IDCANCEL, etc.) In addition we define the result for failure to display the dialog. WPF dialogs return OK/Cancel for the boolean value result of ShowDialog() call, and Fail if the dialog does not have return value yet.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public NotInheritable Class DialogResult
'Utilisation
You do not need to declare an instance of a static class in order to access its members.
public static class DialogResult
public ref class DialogResult abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DialogResult = class end
public final class DialogResult
Inheritance Hierarchy
System.Object
Microsoft.Internal.VisualStudio.PlatformUI.DialogResult
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.