ContainedLanguageRefreshMode Enumeration

 

Used to specify the recompilation mode for a contained language.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public enum ContainedLanguageRefreshMode

Member nameDescription
CLRM_COMPILEFILE

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

CLRM_COMPILEPROJECT

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

From singlefileeditor.idl:

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

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

Return to top
Show: