IVsUIWpfLoader::CreateUIElement Method (String^, String^, IVsUIElement^)
Visual Studio 2015
Creates a visual element given its fully-qualified type name.
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: