Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a new tab to the Toolbox and specifies how the tabs are viewed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function AddTabEx ( _
lpszTab As String, _
tv As VSTBXTABVIEW _
) As Integer
'Usage
Dim instance As IVsToolbox2
Dim lpszTab As String
Dim tv As VSTBXTABVIEW
Dim returnValue As Integer
returnValue = instance.AddTabEx(lpszTab, _
tv)
int AddTabEx(
string lpszTab,
VSTBXTABVIEW tv
)
int AddTabEx(
[InAttribute] String^ lpszTab,
[InAttribute] VSTBXTABVIEW tv
)
abstract AddTabEx :
lpszTab:string *
tv:VSTBXTABVIEW -> int
function AddTabEx(
lpszTab : String,
tv : VSTBXTABVIEW
) : int
Parameters
- lpszTab
Type: System.String
[in] The localized name of the tab to add to the Toolbox. The localized name can be obtained from the invariant non-localized name by calling GetIDOfTab.
- tv
Type: Microsoft.VisualStudio.Shell.Interop.VSTBXTABVIEW
[in] Determines whether the Toolbox tab is shown in list view or icon view. For a list of tv values, see VSTBXTABVIEW.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsToolbox.AddTabEx(String, VSTBXTABVIEW)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsToolbox2::AddTabEx(
[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.