共用方式為


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)

Syntax

'宣告
Public Enumeration ContainedLanguageRefreshMode
public enum ContainedLanguageRefreshMode
public enum class ContainedLanguageRefreshMode
type ContainedLanguageRefreshMode
public enum ContainedLanguageRefreshMode

Members

Member name Description
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.

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace