IVsToolboxPageChooser::GetPreferredToolboxPage Method (Guid)
Visual Studio 2015
Gets the GUID of the preferred toolbox page.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Parameters
- pguidPage
-
Type:
System::Guid
[out] The GUID of the toolbox page.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The GUID returned by this method identifies the page to show by default in the "Choose Toolbox Items" dialog when the designer in question is active. The available pages are registered under the "ToolboxPages" key in the registry under the VS configuration.
Show: