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.
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox::GetTabView(
[in]LPCOLESTR lpszTab,
[out,retval]VSTBXTABVIEW *ptv
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.