Compartir a través de


IVsWebBrowser.Refresh Method

Refreshes the browser contents.

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

Syntax

'Declaration
Function Refresh ( _
    dwRefreshType As UInteger _
) As Integer
int Refresh(
    uint dwRefreshType
)
int Refresh(
    [InAttribute] unsigned int dwRefreshType
)
abstract Refresh : 
        dwRefreshType:uint32 -> int
function Refresh(
    dwRefreshType : uint
) : int

Parameters

  • dwRefreshType
    Type: UInt32

    [in] Specifies the type of refresh. Possible values are VSWBR_Normal, VSWBR_IfExpired, and VSWBR_Completely.

Return Value

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

Remarks

COM Signature

From vsbrowse.idl:

HRESULT IVsWebBrowser::Refresh(
   [in] VSWBREFRESHTYPE dwRefreshType
);

.NET Framework Security

See Also

Reference

IVsWebBrowser Interface

Microsoft.VisualStudio.Shell.Interop Namespace