Partager via


IVsToolbox2.GetTabView(String, VSTBXTABVIEW[]) Method

Definition

Returns the tab view for the specified tab.

public:
 int GetTabView(System::String ^ lpszTab, cli::array <Microsoft::VisualStudio::Shell::Interop::VSTBXTABVIEW> ^ ptv);
public:
 int GetTabView(Platform::String ^ lpszTab, Platform::Array <Microsoft::VisualStudio::Shell::Interop::VSTBXTABVIEW> ^ ptv);
int GetTabView(std::wstring const & lpszTab, std::Array <Microsoft::VisualStudio::Shell::Interop::VSTBXTABVIEW> const & ptv);
public int GetTabView (string lpszTab, Microsoft.VisualStudio.Shell.Interop.VSTBXTABVIEW[] ptv);
abstract member GetTabView : string * Microsoft.VisualStudio.Shell.Interop.VSTBXTABVIEW[] -> int
Public Function GetTabView (lpszTab As String, ptv As VSTBXTABVIEW()) As Integer

Parameters

lpszTab
String

[in] Toolbox tab to return the view for.

ptv
VSTBXTABVIEW[]

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

Returns

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

Implements

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsToolbox2::GetTabView(  
   [in]LPCOLESTR lpszTab,  
   [out,retval]VSTBXTABVIEW *ptv  
);  

Applies to