Freigeben über


Package.ShowOptionPage Method

Displays a specified tools options page.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Public Sub ShowOptionPage ( _
    optionsPageType As Type _
)
'Usage
Dim instance As Package
Dim optionsPageType As Type

instance.ShowOptionPage(optionsPageType)
public void ShowOptionPage(
    Type optionsPageType
)
public:
void ShowOptionPage(
    Type^ optionsPageType
)
member ShowOptionPage : 
        optionsPageType:Type -> unit 
public function ShowOptionPage(
    optionsPageType : Type
)

Parameters

  • optionsPageType
    Type: System.Type
    The options page to open. The options page is identified by the GUID of the optionsPageType object passed in.

Exceptions

Exception Condition
ArgumentNullException

optionsPageType is null.

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace