다음을 통해 공유


IVsToolbox.SelectTab Method

Programmatically selects the referenced Toolbox tab.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function SelectTab ( _
    lpszTab As String _
) As Integer
‘사용 방법
Dim instance As IVsToolbox
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

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::SelectTab(
   [in]LPCOLESTR lpszTab
);

.NET Framework Security

See Also

Reference

IVsToolbox Interface

IVsToolbox Members

Microsoft.VisualStudio.Shell.Interop Namespace