Compartir a través de


IVsUIShell4.CreateToolbarTray Method

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

Syntax

'Declaración
Function CreateToolbarTray ( _
    pCmdTarget As IOleCommandTarget, _
    <OutAttribute> ByRef ppToolbarTrayHost As IVsToolbarTrayHost _
) As Integer
'Uso
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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIShell4 Interface

IVsUIShell4 Members

Microsoft.VisualStudio.Shell.Interop Namespace