RuleBag Class
A container for Rule instances.
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.
Inheritance Hierarchy
System.Object
Microsoft.Build.Framework.XamlTypes.RuleBag
Namespace: Microsoft.Build.Framework.XamlTypes
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
<ContentPropertyAttribute("Rules")> _
Public NotInheritable Class RuleBag _
Implements ISupportInitialize, IProjectSchemaNode
[ContentPropertyAttribute("Rules")]
public sealed class RuleBag : ISupportInitialize,
IProjectSchemaNode
[ContentPropertyAttribute(L"Rules")]
public ref class RuleBag sealed : ISupportInitialize,
IProjectSchemaNode
[<Sealed>]
[<ContentPropertyAttribute("Rules")>]
type RuleBag =
class
interface ISupportInitialize
interface IProjectSchemaNode
end
public final class RuleBag implements ISupportInitialize, IProjectSchemaNode
The RuleBag type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RuleBag | Default constructor. Required for XAML deserialization.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. |
Top
Properties
Name | Description | |
---|---|---|
Rules | 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. |
Top
Methods
Name | Description | |
---|---|---|
BeginInit | See BeginInit.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. | |
EndInit | See EndInit.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. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetSchemaObjects | Returns an enumerator over all instances of static data that have the given type. 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. | |
GetSchemaObjectTypes | Returns an enumerator over all types of static data for the data-driven features that this node 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. | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.