Partager via


IVsWebBrowserUser.GetExternalObject Method

Gets the external object, if there is one.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetExternalObject ( _
    <OutAttribute> ByRef ppDispObject As Object _
) As Integer
int GetExternalObject(
    out Object ppDispObject
)
int GetExternalObject(
    [OutAttribute] Object^% ppDispObject
)
abstract GetExternalObject : 
        ppDispObject:Object byref -> int
function GetExternalObject(
    ppDispObject : Object
) : int

Parameters

  • ppDispObject
    Type: Object%

    [out] The external object.

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsWebBrowserUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace