This documentation is archived and is not being maintained.

IVsToolbox.GetTabView Method

Returns the tab view for the specified tab.

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

int GetTabView (
	[InAttribute] string lpszTab,
	[OutAttribute] VSTBXTABVIEW[] ptv
)
int GetTabView (
	/** @attribute InAttribute() */ String lpszTab, 
	/** @attribute OutAttribute() */ VSTBXTABVIEW[] ptv
)
function GetTabView (
	lpszTab : String, 
	ptv : VSTBXTABVIEW[]
) : int

Parameters

lpszTab

[in] Toolbox tab to return the view for.

ptv

[out, retval] Determines whether the tab is in list view or icon view. For a list of ptv 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::GetTabView(
   [in]LPCOLESTR lpszTab,
   [out,retval]VSTBXTABVIEW *ptv
);
Show: