共用方式為


ContainedLanguageRefreshMode Enum

Definition

Used to specify the recompilation mode for a contained language.

public enum class ContainedLanguageRefreshMode
public enum class ContainedLanguageRefreshMode
enum ContainedLanguageRefreshMode
public enum ContainedLanguageRefreshMode
type ContainedLanguageRefreshMode = 
Public Enum ContainedLanguageRefreshMode
Inheritance
ContainedLanguageRefreshMode

Fields

Name Value Description
CLRM_COMPILEFILE 1

Specifies to recompile the file - used when the primary editor replaces the entire buffer and wants a full recompile.

CLRM_COMPILEPROJECT 2

Specifies to recompile the entire project, for example, when the compiler options have changed.

Remarks

COM Signature

From singlefileeditor.idl:

enum ContainedLanguageRefreshMode {  
   CLRM_COMPILEFILE    = 1,  
   CLRM_COMPILEPROJECT = 2,  
};  

These values are passed to the Refresh method in the IVsContainedLanguage interface.

Applies to