This documentation is archived and is not being maintained.

IVsToolbox.SetTabView Method

Sets the type of view for the specified tab.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int SetTabView (
	[InAttribute] string lpszTab,
	[InAttribute] VSTBXTABVIEW tv
)
int SetTabView (
	/** @attribute InAttribute() */ String lpszTab, 
	/** @attribute InAttribute() */ VSTBXTABVIEW tv
)
function SetTabView (
	lpszTab : String, 
	tv : VSTBXTABVIEW
) : int

Parameters

lpszTab

[in] Toolbox tab to set the view for.

tv

[in] Determines whether the tab is in list view or icon view. For a list of tv values, see VSTBXTABVIEW.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsToolbox::SetTabView(
   [in]LPCOLESTR lpszTab,
   [in]VSTBXTABVIEW tv
);
Show: