CommandSet.ProcessOnMenuPrintPreviewCommand 方法

打开 " 打印预览 " 窗口。重写此方法更改此行为。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

语法

声明
Protected Overridable Sub ProcessOnMenuPrintPreviewCommand
protected virtual void ProcessOnMenuPrintPreviewCommand()

备注

若要更改默认行为,请在 TheLanguageCommandSet 重写此方法。

.NET Framework 安全性

请参见

参考

CommandSet 类

Microsoft.VisualStudio.Modeling.Shell 命名空间