Bagikan melalui


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
'Usage
Dim instance As VCLinkerTool 
Dim value As LinkTimeCodeGenerationOption 

value = instance.LinkTimeCodeGeneration

instance.LinkTimeCodeGeneration = value
LinkTimeCodeGenerationOption LinkTimeCodeGeneration { get; set; }
property LinkTimeCodeGenerationOption LinkTimeCodeGeneration {
    LinkTimeCodeGenerationOption get ();
    void set (LinkTimeCodeGenerationOption value);
}
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

VCLinkerTool Members

Microsoft.VisualStudio.VCProjectEngine Namespace

Other Resources

/LTCG (Link-time Code Generation)