Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the type of view for the specified tab.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetTabView ( _
lpszTab As String, _
tv As VSTBXTABVIEW _
) As Integer
int SetTabView(
string lpszTab,
VSTBXTABVIEW tv
)
int SetTabView(
[InAttribute] String^ lpszTab,
[InAttribute] VSTBXTABVIEW tv
)
abstract SetTabView :
lpszTab:string *
tv:VSTBXTABVIEW -> int
function SetTabView(
lpszTab : String,
tv : VSTBXTABVIEW
) : int
Parameters
lpszTab
Type: String[in] Toolbox tab to set the view for.
tv
Type: Microsoft.VisualStudio.Shell.Interop.VSTBXTABVIEW[in] Determines whether the tab is in list view or icon view. For a list of tv values, see VSTBXTABVIEW.
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::SetTabView(
[in]LPCOLESTR lpszTab,
[in]VSTBXTABVIEW tv
);
.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.