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
- 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.