IVsToolbox::GetTab Method (String^)

 

Returns the name of the selected tab.

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

int GetTab(
	[OutAttribute] String^% pbstrTab
)

Parameters

pbstrTab
Type: System::String^

[out, retval] Name of the selected tab.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsToolbox::GetTab(
   [out, retval]BSTR* pbstrTab
);
Return to top
Show: