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.
Namespace: Microsoft.VisualStudio.DebuggerVisualizers
Assembly: Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)
Syntax
'Declaration
Function ShowDialog ( _
control As Control _
) As DialogResult
DialogResult ShowDialog(
Control control
)
DialogResult ShowDialog(
Control^ control
)
abstract ShowDialog :
control:Control -> DialogResult
function ShowDialog(
control : Control
) : DialogResult
Parameters
control
Type: System.Windows.Forms.ControlAny control derived from System.Windows.Forms.Control.
Return Value
Type: System.Windows.Forms.DialogResult
Remarks
Displays a Windows Forms control.
Examples
public class DebuggerSide : DialogDebuggerVisualizer
{
override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
{
Control myControl = new Control();
windowService.ShowDialog(myControl);
}
// Other class methods ommitted for clarity.
}
.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.