Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Shows a dialog.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Function ShowDialog As DialogResult
'Usage
Dim instance As DialogContainerWithToolbar
Dim returnValue As DialogResult
returnValue = instance.ShowDialog()
public DialogResult ShowDialog()
public:
DialogResult ShowDialog()
member ShowDialog : unit -> DialogResult
public function ShowDialog() : DialogResult
Return Value
Type: System.Windows.Forms.DialogResult
DialogResult.
Remarks
To show a dialog box and process messages from it, this method performs the following actions:
Gets the site from the private subclass, ShowDialogContainer.
Captures messages that originate in the dialog box by calling AddMessageFilter.
Removes the message filter by calling RemoveMessageFilter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DialogContainerWithToolbar Class