Udostępnij za pośrednictwem


VCConfiguration.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)

Syntax

'Declaration
ReadOnly Property Rules As IVCCollection
    Get
IVCCollection Rules { get; }
property IVCCollection^ Rules {
    IVCCollection^ get ();
}
abstract Rules : IVCCollection
function get Rules () : IVCCollection

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.

Remarks

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.]

.NET Framework Security

See Also

Reference

VCConfiguration Interface

Microsoft.VisualStudio.VCProjectEngine Namespace