Metoda IVsUIFactory.CreateUIElement — (Guid, UInt32, IVsUIElement)
Tworzy instancję określonego elementu.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int CreateUIElement(
[InAttribute] ref Guid guid,
uint dw,
out IVsUIElement ppUIElement
)
int CreateUIElement(
[InAttribute] Guid% guid,
unsigned int dw,
[OutAttribute] IVsUIElement^% ppUIElement
)
abstract CreateUIElement :
guid:Guid byref *
dw:uint32 *
ppUIElement:IVsUIElement byref -> int
Function CreateUIElement (
<InAttribute> ByRef guid As Guid,
dw As UInteger,
<OutAttribute> ByRef ppUIElement As IVsUIElement
) As Integer
Parametry
- guid
Identyfikator GUID polecenia.
- dw
Identyfikator polecenia.
- ppUIElement
[out] Element, który został utworzony.
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 IVsUIFactory
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku