IVsUIWpfLoader::CreateUIElementOfType Method (Object^, IVsUIElement^)
Visual Studio 2015
Creates a visual element given its managed type.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int CreateUIElementOfType(
Object^ pUnkElementType,
[OutAttribute] IVsUIElement^% ppUIElement
)
Parameters
- pUnkElementType
-
Type:
System::Object^
[in] The managed type from which to create the visual element.
- ppUIElement
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsUIElement^
[out] The visual element object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: