Udostępnij za pośrednictwem


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
'Usage
Dim instance As CompileAsOptions
public enum CompileAsOptions
public enum class CompileAsOptions
public enum CompileAsOptions

Members

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

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