Поделиться через


VCCustomBuildRule.TargetRule - свойство

Gets whether to use the target rule.

Пространство имен:  Microsoft.VisualStudio.VCProjectEngine
Сборка:  Microsoft.VisualStudio.VCProjectEngine (в Microsoft.VisualStudio.VCProjectEngine.dll)

Синтаксис

'Декларация
ReadOnly Property TargetRule As Boolean
'Применение
Dim instance As VCCustomBuildRule
Dim value As Boolean

value = instance.TargetRule
bool TargetRule { get; }
property bool TargetRule {
    bool get ();
}
function get TargetRule () : boolean

Значение свойства

Тип: System.Boolean

TRUE indicates that the target rule is to be used.

Заметки

A target rule is a rule that takes all the files that match the file extensions and produces output files that are not dependent on the input file names (such as the linker which operates on all .obj files and produces a single executable). This property depends on the Outputs property. If the Outputs property does not contain input-specific macros, then the rule is considered to be a target rule. Target rules are required to support file batching.

Разрешения

  • Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.

См. также

Ссылки

VCCustomBuildRule Интерфейс

VCCustomBuildRule - члены

Microsoft.VisualStudio.VCProjectEngine - пространство имен