ContainedLanguageRefreshMode Enumeration
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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
public enum ContainedLanguageRefreshMode
public enum ContainedLanguageRefreshMode

 Member nameDescription
CLRM_COMPILEFILESpecifies to recompile the file - used when the primary editor replaces the entire buffer and wants a full recompile. 
CLRM_COMPILEPROJECTSpecifies to recompile the entire project, for example, when the compiler options have changed. 

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.

Show:
© 2016 Microsoft