Compartir a través de


RuleBag.Rules Property

The list of Rule instances that this RuleBag instance contains.

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 Rules As List(Of Rule)
public List<Rule> Rules { get; set; }
public:
property List<Rule^>^ Rules {
    List<Rule^>^ get ();
    void set (List<Rule^>^ value);
}
member Rules : List<Rule> with get, set
function get Rules () : List<Rule>
function set Rules (value : List<Rule>)

Property Value

Type: List<Rule>
Returns the list of rules. Always returns at least one rule.

.NET Framework Security

See Also

Reference

RuleBag Class

Microsoft.Build.Framework.XamlTypes Namespace