Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.