This documentation is archived and is not being maintained.

VCLinkerTool.LinkTimeCodeGeneration Property 

Gets or sets a value enabling link time code generation of objects compiled with /GL.

Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in microsoft.visualstudio.vcprojectengine.dll)

'Declaration
Property LinkTimeCodeGeneration As LinkTimeCodeGenerationOption
'Usage
Dim instance As VCLinkerTool
Dim value As LinkTimeCodeGenerationOption

value = instance.LinkTimeCodeGeneration

instance.LinkTimeCodeGeneration = value
/** @property */
LinkTimeCodeGenerationOption get_LinkTimeCodeGeneration ()

/** @property */
void set_LinkTimeCodeGeneration (/** @attribute InAttribute() */ LinkTimeCodeGenerationOption CodeGen)

function get LinkTimeCodeGeneration () : LinkTimeCodeGenerationOption

function set LinkTimeCodeGeneration (CodeGen : LinkTimeCodeGenerationOption)

Property Value

A LinkTimeCodeGenerationOption enumeration.

LinkTimeCodeGeneration exposes the functionality of the /LTCG linker option.

Show: