Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

LinkTimeCodeGeneration Property

Visual Studio .NET 2003

Enables link time code generation of objects compiled with /GL. Exposes the functionality of the /LTCG linker option.

[Visual Basic .NET]
Public Property LinkTimeCodeGeneration() As Boolean
[Visual Basic 6]
Property Get LinkTimeCodeGeneration() As Boolean
Property Let LinkTimeCodeGeneration( _
   ByVal NewValue As Boolean _
HRESULT __stdcall get_LinkTimeCodeGeneration(
   /* [out, retval] */ VARIANT_BOOL* retVal
HRESULT __stdcall put_LinkTimeCodeGeneration(
   /* [in] */ VARIANT_BOOL NewValue
public bool LinkTimeCodeGeneration {get; set;}
[JScript .NET]
public function get LinkTimeCodeGeneration() : Boolean
public function set LinkTimeCodeGeneration(
   NewValue : Boolean


Use the WholeProgramOptimization property to indicate if you want /LTCG linker option in effect.

See Also

Applies To: VCLinkerTool Object

© 2015 Microsoft