IVsToolbox2.SelectTab Method (String)
Programmatically selects the referenced Toolbox tab.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
Function SelectTab ( _
lpszTab As String _
) As Integer
'Utilisation
Dim instance As IVsToolbox2
Dim lpszTab As String
Dim returnValue As Integer
returnValue = instance.SelectTab(lpszTab)
int SelectTab(
string lpszTab
)
int SelectTab(
[InAttribute] String^ lpszTab
)
abstract SelectTab :
lpszTab:string -> int
function SelectTab(
lpszTab : String
) : int
Parameters
- lpszTab
Type: System.String
[in] Toolbox tab to select.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox2::SelectTab(
[in]LPCOLESTR lpszTab
);
.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.