This documentation is archived and is not being maintained.

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