共用方式為


IVsWebBrowserUser.GetExternalObject(Object) Method

Definition

Gets the external object, if there is one.

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

Parameters

ppDispObject
Object

[out] The external object.

Returns

If the method succeeds, it returns S_OK when user is replacing the external object, and S_FALSEwhen user is suppressing the external object. If it fails, it returns an error code.

Remarks

COM Signature

From vsbrowse.idl:

[C++]

HRESULT IVsWebBrowserUser::GetExternalObject(  
   [out] IDispatch** ppDispObject  
);  

Applies to