Freigeben über


IVsToolbox.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
'Usage
Dim instance As IVsToolbox
Dim lpszTab As String
Dim ptv As VSTBXTABVIEW()
Dim returnValue As Integer

returnValue = instance.GetTabView(lpszTab, _
    ptv)
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.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace