Delen via


CommandSet.ProcessOnMenuPageSetupCommand Method

Opens the Page Setup dialog box. Override this method to alter this behavior.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Function ProcessOnMenuPageSetupCommand As DialogResult
protected virtual DialogResult ProcessOnMenuPageSetupCommand()
protected:
virtual DialogResult ProcessOnMenuPageSetupCommand()
abstract ProcessOnMenuPageSetupCommand : unit -> DialogResult  
override ProcessOnMenuPageSetupCommand : unit -> DialogResult
protected function ProcessOnMenuPageSetupCommand() : DialogResult

Return Value

Type: System.Windows.Forms.DialogResult

Remarks

To alter the default behavior, override this method in YourLanguageCommandSet.

.NET Framework Security

See Also

Reference

CommandSet Class

Microsoft.VisualStudio.Modeling.Shell Namespace