VCCLCompilerTool.EnableEnhancedInstructionSet-Eigenschaft

Ruft einen Wert ab oder legt einen Wert fest, der die Verwendung von Anweisungen ermöglicht, die auf Prozessoren gefunden werden, dass Unterstützung Befehlsätze verbesserte, wie die Erweiterungen SSE und SSE2-Anweisungen zum IA-32.EnableEnhancedInstructionSet macht die Funktionalität der Compileroption /ARCH verfügbar.

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

Syntax

'Declaration
Property EnableEnhancedInstructionSet As enhancedInstructionSetType
enhancedInstructionSetType EnableEnhancedInstructionSet { get; set; }
property enhancedInstructionSetType EnableEnhancedInstructionSet {
    enhancedInstructionSetType get ();
    void set (enhancedInstructionSetType value);
}
abstract EnableEnhancedInstructionSet : enhancedInstructionSetType with get, set
function get EnableEnhancedInstructionSet () : enhancedInstructionSetType
function set EnableEnhancedInstructionSet (value : enhancedInstructionSetType)

Eigenschaftswert

Typ: Microsoft.VisualStudio.VCProjectEngine.enhancedInstructionSetType
Ein enhancedInstructionSetType-Wert.

Beispiele

Weitere Informationen finden Sie unter Gewusst wie: Kompilieren von Beispielcode für die Erweiterbarkeit von Projektmodellen Informationen zum Ändern dieses Beispiel kompiliert und ausgeführt wird.

Im folgenden Beispiel wird der Wert der EnableEnhancedInstructionSet-Eigenschaft in der integrierten Entwicklungsumgebung (IDE):

' add reference to Microsoft.VisualStudio.VCProjectEngine.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
    Sub Test()
        Dim prj As VCProject
        Dim cfgs, tools As IVCCollection
        Dim cfg As VCConfiguration
        Dim tool As VCCLCompilerTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCCLCompilerTool")
        MsgBox("Current EnableEnhancedInstructionSet value: " & _
          tool.EnableEnhancedInstructionSet.ToString)
    End Sub
End Module

.NET Framework-Sicherheit

Siehe auch

Referenz

VCCLCompilerTool Schnittstelle

Microsoft.VisualStudio.VCProjectEngine-Namespace