IDialogVisualizerService 介面
更新:2007 年 11 月
命名空間: Microsoft.VisualStudio.DebuggerVisualizers
組件: Microsoft.VisualStudio.DebuggerVisualizers (在 Microsoft.VisualStudio.DebuggerVisualizers.dll 中)
語法
Public Interface IDialogVisualizerService
Dim instance As IDialogVisualizerService
public interface IDialogVisualizerService
public interface class IDialogVisualizerService
public interface IDialogVisualizerService
備註
IDialogVisualizerService 提供方法,讓視覺化檢視可以呼叫顯示 System.Windows 表單、對話方塊和控制項。
範例
public class DebuggerSide : DialogDebuggerVisualizer
{
override protected void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
{
ColorDialog myDialog = new ColorDialog();
windowService.ShowDialog(myDialog);
}
// Other class methods ommitted for clarity.
}