VCCustomBuildRule.TargetRule Property

Gets whether to use the target rule.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

声明
ReadOnly Property TargetRule As Boolean
    Get
bool TargetRule { get; }
property bool TargetRule {
    bool get ();
}
abstract TargetRule : bool
function get TargetRule () : boolean

Property Value

Type: System.Boolean
TRUE indicates that the target rule is to be used.

Remarks

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.

.NET Framework Security

See Also

Reference

VCCustomBuildRule Interface

Microsoft.VisualStudio.VCProjectEngine Namespace