Condividi tramite


IVsUIWpfLoader.CreateUIElement(String, String, IVsUIElement) Method

Definition

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

public:
 int CreateUIElement(System::String ^ elementFQN, System::String ^ codeBase, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIElement ^ % ppUIElement);
public:
 int CreateUIElement(Platform::String ^ elementFQN, Platform::String ^ codeBase, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIElement ^ &  ppUIElement);
int CreateUIElement(std::wstring const & elementFQN, std::wstring const & codeBase, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUIElement const & & ppUIElement);
public int CreateUIElement (string elementFQN, string codeBase, out Microsoft.VisualStudio.Shell.Interop.IVsUIElement ppUIElement);
abstract member CreateUIElement : string * string * IVsUIElement -> int
Public Function CreateUIElement (elementFQN As String, codeBase As String, ByRef ppUIElement As IVsUIElement) As Integer

Parameters

elementFQN
String

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

codeBase
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
IVsUIElement

[out] The visual element object.

Returns

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

Applies to