Share via


Rule.OverrideMode Property

Gets or sets the method to use when multiple rules with the same name appear in the project to reconcile the rules into one instance.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Property OverrideMode As RuleOverrideMode
public RuleOverrideMode OverrideMode { get; set; }
public:
property RuleOverrideMode OverrideMode {
    RuleOverrideMode get ();
    void set (RuleOverrideMode value);
}
member OverrideMode : RuleOverrideMode with get, set
function get OverrideMode () : RuleOverrideMode 
function set OverrideMode (value : RuleOverrideMode)

Property Value

Type: Microsoft.Build.Framework.XamlTypes.RuleOverrideMode
Returns RuleOverrideMode.

.NET Framework Security

See Also

Reference

Rule Class

Microsoft.Build.Framework.XamlTypes Namespace