Share via


IVsUIWpfElement.GetFrameworkElement(Object) Method

Definition

Returns an interface to the Windows Presentation Foundation user interface element.

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

Parameters

ppUnkElement
Object

[out] Location to return the interface.

Returns

Returns S_OK if the element's interface was returned.

Applies to