共用方式為


IVsUIWpfElement.CreateFrameworkElement(Object) Method

Definition

Creates a Windows Presentation Foundation user interface element.

public:
 int CreateFrameworkElement([Runtime::InteropServices::Out] System::Object ^ % ppUnkElement);
int CreateFrameworkElement([Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppUnkElement);
public int CreateFrameworkElement (out object ppUnkElement);
abstract member CreateFrameworkElement : obj -> int
Public Function CreateFrameworkElement (ByRef ppUnkElement As Object) As Integer

Parameters

ppUnkElement
Object

[out] Location to return the interface for the new element.

Returns

Returns S_OK if the element was created.

Applies to