다음을 통해 공유


RuleBag Class

Definition

This is a simple container for Rule instances.

public ref class RuleBag sealed : Microsoft::Build::Framework::XamlTypes::IProjectSchemaNode, System::ComponentModel::ISupportInitialize
[System.Windows.Markup.ContentProperty("Rules")]
public sealed class RuleBag : Microsoft.Build.Framework.XamlTypes.IProjectSchemaNode, System.ComponentModel.ISupportInitialize
[<System.Windows.Markup.ContentProperty("Rules")>]
type RuleBag = class
    interface ISupportInitialize
    interface IProjectSchemaNode
Public NotInheritable Class RuleBag
Implements IProjectSchemaNode, ISupportInitialize
Inheritance
RuleBag
Attributes
Implements

Remarks

Note that we only deal in terms of Rules as far as property pages are concerned. The RuleBag is only used as a container for more than one Rule. The containing Rules are immediately stripped off after loading of the xaml file.

Constructors

RuleBag()

Default constructor needed for XAML deserialization.

Properties

Rules

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

Methods

BeginInit()

See ISupportInitialize Members.

EndInit()

See ISupportInitialize Members.

GetSchemaObjects(Type)

see IProjectSchemaNode

GetSchemaObjectTypes()

see IProjectSchemaNode

Applies to