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 _
) 
[C++]
HRESULT __stdcall get_LinkTimeCodeGeneration(
   /* [out, retval] */ VARIANT_BOOL* retVal
);
HRESULT __stdcall put_LinkTimeCodeGeneration(
   /* [in] */ VARIANT_BOOL NewValue
);
[C#]
public bool LinkTimeCodeGeneration {get; set;}
[JScript .NET]
public function get LinkTimeCodeGeneration() : Boolean
public function set LinkTimeCodeGeneration(
   NewValue : Boolean
)

Example

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

See Also

Applies To: VCLinkerTool Object

Show:
© 2014 Microsoft