IVsToolboxPageChooser::GetPreferredToolboxPage Method (Guid)

 

Gets the GUID of the preferred toolbox page.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetPreferredToolboxPage(
	[OutAttribute] Guid% pguidPage
)

Parameters

pguidPage
Type: System::Guid

[out] The GUID of the toolbox page.

Return Value

Type: System::Int32

If 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.

Return to top
Show: