Metoda IVsToolbarTrayHost.AddToolbar — (Guid, UInt32)
Dodaje pasek narzędzi do zasobnika.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int AddToolbar(
[InAttribute] ref Guid pGuid,
uint dwId
)
int AddToolbar(
[InAttribute] Guid% pGuid,
unsigned int dwId
)
abstract AddToolbar :
pGuid:Guid byref *
dwId:uint32 -> int
Function AddToolbar (
<InAttribute> ByRef pGuid As Guid,
dwId As UInteger
) As Integer
Parametry
- pGuid
[w] Identyfikator GUID paska narzędzi, aby dodać.
- dwId
[w] Identyfikator paska narzędzi, aby dodać.
Wartość zwracana
Type: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.
Zobacz też
Interfejs IVsToolbarTrayHost
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku