共用方式為


IVsContainedLanguage.Refresh(UInt32) Method

Definition

Recompiles the language file, or the entire project.

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

Parameters

dwRefreshMode
UInt32

[in] A value from the ContainedLanguageRefreshMode enumeration indicating what should be recompiled (the file or the whole project).

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT IVsContainedLanguage::Refresh(  
   [in] DWORD dwRefreshMode  
);  

Applies to