Compartir a través de


IVsToolbarTrayHost.AddToolbar 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 AddToolbar ( _
    ByRef pGuid As Guid, _
    dwId As UInteger _
) As Integer
'Uso
Dim instance As IVsToolbarTrayHost
Dim pGuid As Guid
Dim dwId As UInteger
Dim returnValue As Integer

returnValue = instance.AddToolbar(pGuid, _
    dwId)
int AddToolbar(
    ref Guid pGuid,
    uint dwId
)
int AddToolbar(
    [InAttribute] Guid% pGuid, 
    [InAttribute] unsigned int dwId
)
abstract AddToolbar : 
        pGuid:Guid byref * 
        dwId:uint32 -> int 
function AddToolbar(
    pGuid : Guid, 
    dwId : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsToolbarTrayHost Interface

IVsToolbarTrayHost Members

Microsoft.VisualStudio.Shell.Interop Namespace