VCLibrarianTool.LinkTimeCodeGeneration - свойство
Gets or sets a value indicating whether link time code generation of objects compiled with /GL (Whole Program Optimization).
Пространство имен: Microsoft.VisualStudio.VCProjectEngine
Сборка: Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)
Синтаксис
'Декларация
Property LinkTimeCodeGeneration As Boolean
'Применение
Dim instance As VCLibrarianTool
Dim value As Boolean
value = instance.LinkTimeCodeGeneration
instance.LinkTimeCodeGeneration = value
bool LinkTimeCodeGeneration { get; set; }
property bool LinkTimeCodeGeneration {
bool get ();
void set (bool value);
}
function get LinkTimeCodeGeneration () : boolean
function set LinkTimeCodeGeneration (value : boolean)
Значение свойства
Тип: System.Boolean
true if link time code generation of objects compiled with /GL (Whole Program Optimization); otherwise, false.
Заметки
LinkTimeCodeGeneration exposes the functionality of the /LTCG (Link-time Code Generation) linker option.
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.