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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCProjectEngine Namespace