Partager via


CompileAsOptions Enumeration

Used to select compile language option for .c and .cpp files.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Public Enumeration CompileAsOptions
public enum CompileAsOptions
public enum class CompileAsOptions
type CompileAsOptions
public enum CompileAsOptions

Members

Member name Description
compileAsC Compile as C Code (/TC)
compileAsCPlusPlus Compile as C++ Code (/TP)
compileAsDefault Default

Remarks

See /Tc, /Tp, /TC, /TP (Specify Source File Type) for more information. Used by the CompileAs property.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace