VCLinkerTool.LinkTimeCodeGeneration Property

Gets or sets a value enabling link time code generation of objects compiled with /GL (Whole Program Optimization).

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.VCProjectEngine.LinkTimeCodeGenerationOption
A LinkTimeCodeGenerationOption enumeration.

Remarks

LinkTimeCodeGeneration exposes the functionality of the /LTCG (Link-time Code Generation) linker option.

.NET Framework Security

See Also

Reference

VCLinkerTool Interface

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

/LTCG (Link-time Code Generation)