共用方式為


IVsWebBrowser.Refresh(UInt32) Method

Definition

Refreshes the browser contents.

public:
 int Refresh(System::UInt32 dwRefreshType);
public:
 int Refresh(unsigned int dwRefreshType);
int Refresh(unsigned int dwRefreshType);
public int Refresh (uint dwRefreshType);
abstract member Refresh : uint32 -> int
Public Function Refresh (dwRefreshType As UInteger) As Integer

Parameters

dwRefreshType
UInt32

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

Returns

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  
);  

Applies to