Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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_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:
© 2015 Microsoft