次の方法で共有


IVsUIElement.GetUIObject(Object) Method

Definition

Gets the implementation-specific object (for example, an IVsUIWpfElement or an IVsUIWin32Element).

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

Parameters

ppUnk
Object

[out] The UI object.

Returns

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

Applies to