RuleBag RuleBag RuleBag RuleBag Class


A container for Rule instances.

public ref class RuleBag sealed : Microsoft::Build::Framework::XamlTypes::IProjectSchemaNode, System::ComponentModel::ISupportInitialize
public sealed class RuleBag : Microsoft.Build.Framework.XamlTypes.IProjectSchemaNode, System.ComponentModel.ISupportInitialize
type RuleBag = class
    interface ISupportInitialize
    interface IProjectSchemaNode
Public NotInheritable Class RuleBag
Implements IProjectSchemaNode, ISupportInitialize


Concerns only Rule rules, relative to property pages. The RuleBag is only used as a container for more than one Rule. The containing Rule rules are immediately stripped off after the XAML file is loaded.


RuleBag() RuleBag() RuleBag() RuleBag()

Parameterless constructor. Required for XAML deserialization.


Rules Rules Rules Rules

The list of Rule instances that this RuleBag instance contains.


BeginInit() BeginInit() BeginInit() BeginInit()

See BeginInit().

EndInit() EndInit() EndInit() EndInit()

See EndInit().

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSchemaObjects(Type) GetSchemaObjects(Type) GetSchemaObjects(Type) GetSchemaObjects(Type)

Returns an enumerator over all instances of static data that have the given type.

GetSchemaObjectTypes() GetSchemaObjectTypes() GetSchemaObjectTypes() GetSchemaObjectTypes()

Returns an enumerator over all types of static data for the data-driven features that this node contains.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to