Share via


RuleBag.Rules Property

Definition

The collection of Rule instances this RuleBag instance contains. Must have at least one Rule.

public:
 property System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Rule ^> ^ Rules { System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Rule ^> ^ get(); void set(System::Collections::Generic::List<Microsoft::Build::Framework::XamlTypes::Rule ^> ^ value); };
public System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Rule> Rules { get; set; }
public System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Rule> Rules { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.Rules : System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Rule> with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Rules : System.Collections.Generic.List<Microsoft.Build.Framework.XamlTypes.Rule> with get, set
Public Property Rules As List(Of Rule)

Property Value

The list of rules. Always returns at least one rule.

Attributes

Applies to