VCCLCompilerTool.EnableIntrinsicFunctions (Propiedad)

Obtiene o establece un valor que indica si se van a usar funciones intrínsecas para generar código más rápido, pero posiblemente de mayor tamaño. EnableIntrinsicFunctions expone la funcionalidad de la opción /Oi (Generar funciones intrínsecas) del compilador.

Espacio de nombres:  Microsoft.VisualStudio.VCProjectEngine
Ensamblado:  Microsoft.VisualStudio.VCProjectEngine (en Microsoft.VisualStudio.VCProjectEngine.dll)

Sintaxis

'Declaración
Property EnableIntrinsicFunctions As Boolean
bool EnableIntrinsicFunctions { get; set; }
property bool EnableIntrinsicFunctions {
    bool get ();
    void set (bool value);
}
abstract EnableIntrinsicFunctions : bool with get, set
function get EnableIntrinsicFunctions () : boolean 
function set EnableIntrinsicFunctions (value : boolean)

Valor de propiedad

Tipo: Boolean
Es true si se van a usar funciones intrínsecas; de lo contrario, es false.

Ejemplos

Vea Cómo: Compilar el código de ejemplo de extensibilidad del modelo de proyecto para obtener información sobre cómo compilar y ejecutar este ejemplo.

En el ejemplo siguiente se modifica la propiedad EnableIntrinsicFunctions en el entorno de desarrollo integrado (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")
        tool.EnableIntrinsicFunctions = True
    End Sub
End Module

Seguridad de .NET Framework

Vea también

Referencia

VCCLCompilerTool Interfaz

Microsoft.VisualStudio.VCProjectEngine (Espacio de nombres)