Export (0) Print
Expand All

VCPropertySheet.Rules Property

Gets a collection of IVCRulePropertyStorage objects that can modify to project-level properties and default item metadata defined in this property sheet.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

IVCCollection Rules { get; }

Property Value

Type: Microsoft.VisualStudio.VCProjectEngine.IVCCollection
A keyed collection, where the key is the name of the rule as found inside the rule file’s opening tag.

The IVCRulePropertyStorage objects obtained by this property are project-level properties and default item metadata in the property sheet from which the objects were obtained. To modify these data in the project file, see [P:Microsoft.VisualStudio.VCProjectEngine.VCConfiguration.Rules.] To modify the metadata of a particular item, see [P:Microsoft.VisualStudio.VCProjectEngine.VCFileConfiguration.Tool.]

© 2014 Microsoft