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.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function CreateToolbarTray ( _
pCmdTarget As IOleCommandTarget, _
<OutAttribute> ByRef ppToolbarTrayHost As IVsToolbarTrayHost _
) As Integer
'Usage
Dim instance As IVsUIShell4
Dim pCmdTarget As IOleCommandTarget
Dim ppToolbarTrayHost As IVsToolbarTrayHost
Dim returnValue As Integer
returnValue = instance.CreateToolbarTray(pCmdTarget, _
ppToolbarTrayHost)
int CreateToolbarTray(
IOleCommandTarget pCmdTarget,
out IVsToolbarTrayHost ppToolbarTrayHost
)
int CreateToolbarTray(
[InAttribute] IOleCommandTarget^ pCmdTarget,
[OutAttribute] IVsToolbarTrayHost^% ppToolbarTrayHost
)
abstract CreateToolbarTray :
pCmdTarget:IOleCommandTarget *
ppToolbarTrayHost:IVsToolbarTrayHost byref -> int
function CreateToolbarTray(
pCmdTarget : IOleCommandTarget,
ppToolbarTrayHost : IVsToolbarTrayHost
) : int
Parameters
- pCmdTarget
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
- ppToolbarTrayHost
Type: Microsoft.VisualStudio.Shell.Interop.IVsToolbarTrayHost%
Return Value
Type: System.Int32
.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.