This documentation is archived and is not being maintained.
Rule Class
Visual Studio 2010
Used to represent the schema information for a Tool, a Custom Build Rule, a PropertyPage, and so on.
System::Object
Microsoft.Build.Framework.XamlTypes::RuleSchema
Microsoft.Build.Framework.XamlTypes::Rule
Microsoft.Build.Framework.XamlTypes::RuleSchema
Microsoft.Build.Framework.XamlTypes::Rule
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The Rule type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AdditionalInputs | When this Rule represents a Build Customization, this field defines the semicolon-separated list of additional inputs to be evaluated for the Build Customization target. |
![]() | Categories | Gets or sets the list of Category categories that the properties in this Rule belong to. |
![]() | CommandLine | When this Rule represents a Build Customization, this field represents the command-line template to be used by a Build Customization task to invoke the tool. |
![]() | DataSource | The DataSource for the properties in this Rule. This is overridden by any data source that is defined locally for a property. |
![]() | Description | Gets or sets a description of this Rule for use by a prospective UI client. |
![]() | DisplayName | Gets or sets a name that can be used by a prospective UI client to display this BaseProperty. |
![]() | EvaluatedCategories | Returns the union of XAML specified Category categories and auto-generated Category categories. The latter are created from any missing categories that are referred to by the properties in this Rule. The auto-generated Category categories only have their names set. |
![]() | ExecutionDescription | When this Rule represents a Build Customization, this field represents the message to be displayed before a Build Customization is executed during the build. |
![]() | FileExtension | When this Rule represents a Build Customization, this field represents the file name extension to associate. |
![]() | HelpString | Gets or sets Help information for this Rule. |
![]() | Name | The name of this Rule. |
![]() | Order | Gets or sets a suggestion to a prospective UI client for the relative location of this Rule compared to all other Rules in the system. |
![]() | Outputs | When this Rule represents a Build Customization, this field defines the semicolon-separated list of outputs that are to be evaluated for the Build Customization target. |
![]() | PageTemplate | Gets or sets the UI rendering template that is used to display this Rule. |
![]() | Properties | Gets or sets the list of properties in this Rule. |
![]() | Separator | Gets or sets a token that is used to separate a property switch from its value. |
![]() | ShowOnlyRuleProperties | Gets or sets a flag that determines whether to hide the command-line category. |
![]() | SupportsFileBatching | Gets or sets a flag that determines whether multiple files can be batched on one command-line invocation. |
![]() | SwitchPrefix | Gets or sets the prefix to use for all property switches in this Rule for the case when this property Rule represents a tool. |
![]() | ToolName | Gets or sets the name of the tool when this rule represents a tool. |
| Name | Description | |
|---|---|---|
![]() | BeginInit | See BeginInit. |
![]() | EndInit | See EndInit. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPropertiesByCategory | Returns a dictionary of all properties partitioned into categories. |
![]() | GetPropertiesInCategory | Returns the list of properties in a Category. |
![]() | GetSchemaObjects | Returns an enumerator over all instances of static data that have the given type. |
![]() | GetSchemaObjectTypes | Returns an enumerator over all types of static data for the data-driven features that this node contains. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
