Package.ShowOptionPage Method
Displays a specified tools options page.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Sub ShowOptionPage ( _
optionsPageType As Type _
)
public void ShowOptionPage(
Type optionsPageType
)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.