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
- pGuid
Type: System.Guid%
- dwId
Type: System.UInt32
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.