Freigeben über


CompileAsOptions-Enumeration

Wird zum Wählen der Kompilierungssprachoption für C- und CPP-Dateien verwendet.

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

Member

Membername Beschreibung
compileAsC Als C-Code kompilieren (/TP)
compileAsCPlusPlus Kompilieren Sie als C++-Code (/TP)
compileAsDefault Default

Hinweise

Weitere Informationen finden Sie unter /Tc, /Tp, /TC, /TP (Typ der Quelldatei angeben). Wird von der CompileAs-Eigenschaft verwendet.

Siehe auch

Referenz

Microsoft.VisualStudio.VCProjectEngine-Namespace