Displays a specified tools options page.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub ShowOptionPage ( _
optionsPageType As Type _
)
'使用
Dim instance As Package
Dim optionsPageType As Type
instance.ShowOptionPage(optionsPageType)
public void ShowOptionPage(
Type optionsPageType
)
public:
void ShowOptionPage(
Type^ optionsPageType
)
public function ShowOptionPage(
optionsPageType : Type
)
Parameters
optionsPageType
Type: System.TypeThe 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. |
Permissions
- 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.