IVsUIWpfLoader::CreateUIElement Method (String^, String^, IVsUIElement^)

 

Creates a visual element given its fully-qualified type name.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int CreateUIElement(
	String^ elementFQN,
	String^ codeBase,
	[OutAttribute] IVsUIElement^% ppUIElement
)

Parameters

elementFQN
Type: System::String^

[in] The element’s fully-qualified name.

codeBase
Type: System::String^

[in] If the element's assembly is in the global assembly cache (GAC) or on the probing path, the code base does not need to be specified.

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: