This documentation is archived and is not being maintained.

EnableEnhancedInstructionSet Property

Visual Studio .NET 2003

Enables use of instructions found on processors that support enhanced instruction sets, such as the SSE and SSE2 enhancements to the IA-32. Exposes the functionality of the compiler's /ARCH option.

[Visual Basic .NET]
Public Property EnableEnhancedInstructionSet() As enhancedInstructionSetType
[Visual Basic 6]
Property Get EnableEnhancedInstructionSet() As enhancedInstructionSetType
Property Let EnableEnhancedInstructionSet( _
   ByVal NewValue As enhancedInstructionSetType _
HRESULT __stdcall get_EnableEnhancedInstructionSet(
   /* [out, retval] */ enhancedInstructionSetType* retVal
HRESULT __stdcall put_EnableEnhancedInstructionSet(
   /* [in] */ enhancedInstructionSetType NewValue
public enhancedInstructionSetType EnableEnhancedInstructionSet {get; set;}
[JScript .NET]
public function get EnableEnhancedInstructionSet() : enhancedInstructionSetType
public function set EnableEnhancedInstructionSet(
   NewValue : enhancedInstructionSetType


An enhancedInstructionSetType value.

Return Value

Returns an enhancedInstructionSetType value.


The following sample code lists the value of the EnableEnhancedInstructionSet property in the development environment:

' 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: " & _
    End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCCLCompilerTool Object