共用方式為


CommandSet.ProcessOnMenuPageSetupCommand 方法

開啟 [版面設定] 對話方塊。 覆寫這個方法,以改變此表現方式。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Protected Overridable Function ProcessOnMenuPageSetupCommand As DialogResult
protected virtual DialogResult ProcessOnMenuPageSetupCommand()

傳回值

型別:System.Windows.Forms.DialogResult

備註

若要更改預設行為,覆寫這個方法,在 YourLanguageCommandSet 中。

.NET Framework 安全性

請參閱

參考

CommandSet 類別

Microsoft.VisualStudio.Modeling.Shell 命名空間