IVsUIFactory::CreateUIElement Method (Guid, UInt32, IVsUIElement^)
Visual Studio 2015
Creates an instance of the specified element.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int CreateUIElement( [InAttribute] Guid% guid, unsigned int dw, [OutAttribute] IVsUIElement^% ppUIElement )
Parameters
- guid
-
Type:
System::Guid
The GUID of the command.
- dw
-
Type:
System::UInt32
The command ID.
- ppUIElement
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsUIElement^
[out] The element that was created.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: