共用方式為


compileAsManagedOptions 列舉類型

CompileAsManaged 屬性使用。

命名空間:  Microsoft.VisualStudio.VCProject
組件:  Microsoft.VisualStudio.VCProject (在 Microsoft.VisualStudio.VCProject.dll 中)

語法

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

成員

成員名稱 描述
managedAssembly Common Language Runtime 支援 (/clr)
managedAssemblyOldSyntax Common Language Runtime 支援、舊語法 (/clr:oldSyntax)
managedAssemblyPure 純 MSIL Common Language Runtime 支援 (/clr:pure)
managedAssemblySafe 安全的 MSIL Common Language Runtime 支援 (/clr:safe)
managedNotSet 沒有 Common Language Runtime 支援

備註

如需如何建立模組的詳細資訊,請參閱 TurnOffAssemblyGeneration

如需詳細資訊,請參閱一般屬性頁 (專案)

請參閱

參考

Microsoft.VisualStudio.VCProject 命名空間