Delen 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: String

    [in] Toolbox tab to return the view for.

Return Value

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

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