IVsToolbox2::GetTabView Method (String^, array<VSTBXTABVIEW>^)

 

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

Parameters

lpszTab
Type: System::String^

[in] Toolbox tab to return the view for.

ptv
Type: array<Microsoft.VisualStudio.Shell.Interop::VSTBXTABVIEW>^

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