Compartilhar via


VisualizerDevelopmentHost.ShowVisualizer Method

Namespace:  Microsoft.VisualStudio.DebuggerVisualizers
Assembly:  Microsoft.VisualStudio.DebuggerVisualizers (in Microsoft.VisualStudio.DebuggerVisualizers.dll)

Syntax

'Declaration
Public Sub ShowVisualizer
public void ShowVisualizer()
public:
void ShowVisualizer()
member ShowVisualizer : unit -> unit
public function ShowVisualizer()

Remarks

Calls the visualizer development host to show the visualizer, without parameters.

Examples

public static void TestShowVisualizer(object MyDataObject)
{
   // This statement creates the host:
   VisualizerDevelopmentHost visualizerHost = new VisualizerDevelopmentHost (MyDataObject, typeof(MyVisualizer));
   // This statement calls the host to show the visualizer:
   visualizerHost.ShowVisualizer();
}

.NET Framework Security

See Also

Reference

VisualizerDevelopmentHost Class

ShowVisualizer Overload

Microsoft.VisualStudio.DebuggerVisualizers Namespace