IVsToolbox::SetTabView Method (String^, VSTBXTABVIEW)

 

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(
	String^ lpszTab,
	VSTBXTABVIEW tv
)

Parameters

lpszTab
Type: System::String^

[in] Toolbox tab to set the view for.

tv
Type: Microsoft.VisualStudio.Shell.Interop::VSTBXTABVIEW

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

Return Value

Type: System::Int32

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

From vsshell.idl:

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