Share via


IVsToolbox2.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)

Syntax

'Declaration
Function GetTabView ( _
    lpszTab As String, _
    <OutAttribute> ptv As VSTBXTABVIEW() _
) As Integer
int GetTabView(
    string lpszTab,
    VSTBXTABVIEW[] ptv
)
int GetTabView(
    [InAttribute] String^ lpszTab, 
    [OutAttribute] array<VSTBXTABVIEW>^ ptv
)
abstract GetTabView : 
        lpszTab:string * 
        ptv:VSTBXTABVIEW[] byref -> int 
function GetTabView(
    lpszTab : String, 
    ptv : VSTBXTABVIEW[]
) : int

Parameters

  • lpszTab
    Type: System.String
    [in] Toolbox tab to return the view for.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsToolbox.GetTabView(String, array<VSTBXTABVIEW[])

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsToolbox2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace