IVsUIWpfLoader::CreateUIElementOfType Method (Object^, IVsUIElement^)

 

Creates a visual element given its managed type.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: