次の方法で共有


IVsGlobalsCallback2.GetParent(Object) Method

Definition

Gets the parent of the object implementing Microsoft.VisualStudio.Shell.Interop.IVsGlobalsCallBack2.

public:
 int GetParent(System::Object ^ % ppOut);
int GetParent(winrt::Windows::Foundation::IInspectable const & & ppOut);
public int GetParent (ref object ppOut);
abstract member GetParent : obj -> int
Public Function GetParent (ByRef ppOut As Object) As Integer

Parameters

ppOut
Object

[out] Pointer to the IDispatch interface of the interface's parent object.

Returns

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

Applies to